When building my project i get the following warning:
LINK||warning LNK4044: unrecognized option '/DEBUG'; ignored|
Recently i switched from MinGW GCC to the VC 11.0 compiler. I didn't have the selection in the Code::Blocks compiler list, so i copied the Microsoft Visual C++ 2010 Compiler settings and replaced the "10.0" in the directories (e.g. the compiler installation directory) with "11.0". Compiling works fine, but when linking i get the above mentioned warning. /DEBUG is the linker flag of the preset Code::Blocks compiler flag "Produce debugging symbols /Zi" and officially an option of the VC 11.0 linker (http://msdn.microsoft.com/en-us/library/y0zzbyt4%28v=vs.110%29.aspx).
From the build log:
cl.exe /nologo /EHs /W3 /Zi /I"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include" /I"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include" /c helper.cpp /Foobj\Debug\helper.obj
link.exe /lib /nologo /LIBPATH:"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib" /LIBPATH:"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib" /out:bin\Debug\libHelper.lib obj\Debug\helper.obj /DEBUG
helper.cpp
LINK : warning LNK4044: unrecognized option '/DEBUG'; ignored
Code::Blocks SVN 9455.
Anyone has a clue how i can get this to work (without just removing it)? Any hints appreciated.
whisp