64 bit compiling linker issues for .def file. (Statements not supported.)

the.serial.wombat at gmail.com the.serial.wombat at gmail.com
Sun Sep 8 23:01:30 PDT 2013


Configuration. Visual Studio 2010 with 64bit SDK's installed. Running 
Visual D. (Build system is Windows 7 Professional x64)
DMD build configuration set according to the wiki ( 
http://wiki.dlang.org/Installing_DMD_on_64-bit_Windows_7_%28COFF-compatible%29 
) minus the setting of the -m64 setting. (That forces the compiler to 
always compile in 64 bit. I do both 32 and 64 bit.)
Problem: While trying to compile any GUI program with the standard .def 
file (EXETPE:NT SUBSYSTEM WINDOWS), I get a linker error that states X 
"statement not supported for the target platform; ignored" for both of 
these commands. This, in turn will show the command prompt window during 
the running of the program.
     What are the correct settings to fix this?


More information about the Digitalmars-d-learn mailing list