| | |
1 error compiling...
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2006
Posts: 78
Reputation:
Solved Threads: 0
Hi I'm creating an application and in DEBUG mode I have zero errors, but when I switch to RELEASE I have this error:
Can you help me please,
Thanks, Regards
C++ Syntax (Toggle Plain Text)
--------------------Configuration: ipfix - Win32 Release-------------------- Compiling... Command line error D2016 : '/ZI' and '/O2' command-line options are incompatible Error executing cl.exe.
Can you help me please,
Thanks, Regards
Check your compiler optimisation switches in project properties or something (I havn't used VC++ ide ever but I guess they're in there somewhere)
If you look here:
http://msdn2.microsoft.com/en-us/library/fwkeyyhe.aspx
You will see that command line switch /ZI means include debugging symbols
/O2 means compile 'fast' code
They are obviously mutualy exclusive you can't compile lots of debug code in AND have fast code!
If you look here:
http://msdn2.microsoft.com/en-us/library/fwkeyyhe.aspx
You will see that command line switch /ZI means include debugging symbols
/O2 means compile 'fast' code
They are obviously mutualy exclusive you can't compile lots of debug code in AND have fast code!
![]() |
Similar Threads
- Error while compiling (C)
- compiling error (C)
- Error in compiling matrix (C++)
- Error compiling complex.cpp (C++)
- error when compiling murphy's law with gcc (C)
Other Threads in the C++ Forum
- Previous Thread: checking for Connect 4
- Next Thread: Dynamically Add Event Handler without using this pointer
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count data database delete deploy developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game getline givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib linker list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings temperature template test text text-file tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






