http://d.puremagic.com/issues/show_bug.cgi?id=4315
Summary: Invalid object file created when appending const char[0] to char[] Product: D Version: D1 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: to...@yahoo.com --- Comment #0 from to...@yahoo.com 2010-06-14 16:17:35 PDT --- DMD 1.061. --- void main() { char[] a; const b = ""; //const char[0] b; // fails //char[0] b; // ok //const b = "x"; // ok //const char[] b = ""; // ok //auto b = ""; // ok a ~= b; } --- Output: d:\prog\test\D\matheval>dmd -run test OPTLINK (R) for Win32 Release 8.00.1 Copyright (C) Digital Mars 1989-2004 All rights reserved. test.obj(test) Offset 0018FH Record Type 009D Error 16: Index Range --- errorlevel 1 optlink 8.00.2 silently ignores this error, I'll create another bug report for that. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------