http://d.puremagic.com/issues/show_bug.cgi?id=7843
Summary: Regression(2.059 beta): Informational warning fails to produce executable Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: cbkbbej...@mailinator.com --- Comment #0 from Nick Sabalausky <cbkbbej...@mailinator.com> 2012-04-05 21:16:40 PDT --- struct Foo { const hash_t toHash() { return 0; } } void main() { } ------------------------------ >test 'test' is not recognized as an internal or external command, operable program or batch file. >dmd -wi test.d test.d(3): Warning: toHash() must be declared as extern (D) uint toHash() const pure nothrow @safe, not const uint() >test 'test' is not recognized as an internal or external command, operable program or batch file. >dmd test.d >test (ok) > -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------