https://d.puremagic.com/issues/show_bug.cgi?id=12340
Summary: /DELEXECUTABLE does not work
Product: D
Version: unspecified
Platform: All
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Optlink
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrej Mitrovic <[email protected]> 2014-03-10
13:09:22 PDT ---
Test-case:
-----
void main();
-----
$ dmd -run test.d
DMD v2.066 DEBUG
OPTLINK (R) for Win32 Release 8.00.13
Copyright (C) Digital Mars 1989-2010 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
OPTLINK : Warning 23: No Stack
OPTLINK : Warning 134: No Start Address
---------------------------
Unsupported 16-Bit Application
---------------------------
The program or feature "\??\C:\dev\code\d_code\test.exe" cannot start or run
due to incompatibity with 64-bit versions of Windows. Please contact the
software vendor to ask if a 64-bit Windows compatible version is available.
Now let's try with /NOEXECUTABLE:
$ dmd -L/NOEXECUTABLE -run test.d
Same crash. The problem (as I see it) is that OPTLINK creates a warning when a
start address is missing, rather than an error, so /NOEXECUTABLE has no effect.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------