[Issue 5215] Crash with empty program

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 20 10:31:58 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=5215


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #5 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-01-20 10:31:54 PST ---
Optlink has a /DELEXECUTABLE flag for deleting the exe if there are linker
errors, but it doesn't work (I assume because optlink creates warnings instead
of errors for OPs code).

Additionally optlink creates executables even if you don't pass anything to it,
e.g.:

$ link.exe
creates .exe

The linker gives you warnings and creates a `.exe` file. Pretty stupid behavior
if you ask me. Every modern console app would display a list of arguments you
can pass to it, or a sane warning instead of "OPTLINK : Warning 134: No Start
Address" when you didn't pass a single file to it.

-- 
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