http://d.puremagic.com/issues/show_bug.cgi?id=9509
Summary: std.stdio fails to import with specific dmd
command-line options
Product: D
Version: D2
Platform: x86_64
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Arthur Castonguay <[email protected]> 2013-02-14
07:05:30 PST ---
Trivial program:
import std.stdio;
void main() {
writeln("Hello");
}
On the latest 2.061 MacOS dmd release (I installed via the DMD installer), if I
attempt to compile this with options:
-O -inline -noboundscheck -release
I get an error (sadly, I don't have it handy at the moment) from the std.stdio
import. It's something about feof and eof and one not being callable from the
user due to one of them being pure.
If I remove the "-inline" option, all is well. It tried various combinations
of the aforementioned options but all need to be present to make the issue
manifest.
If there's more information required, do yell. I'll update the issue with the
exact error message when I'm back in front of my Mac.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------