[Issue 5573] Compiler (not linker) should generate an error for missing main()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 14 13:06:26 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5573
Robert Clipsham <robert at octarineparrot.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |robert at octarineparrot.com
--- Comment #2 from Robert Clipsham <robert at octarineparrot.com> 2011-02-14 21:03:52 GMT ---
Another possibility for this (and other linker errors) - given that dmd invokes
the linker, its stderr could be redirected and filtered. The compiler can then
give a nice error for a missing main() function, and also demangle symbol names
without the linker needing modification. This avoids the issue of main() being
in a library, but is also a bit more hacky.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list