How to remove compile warnings in VC++ 2008?
-
I am using visual studio 2008 professional and during compilation, the errors and warnings are all displayed together, making it hard to identify the error messages. How do I remove the compile warnings during compilation? And in Visual studio 2005, the warnings and errors have their separate tabs and are nicely separated. Why did microsoft remove this user friendly display and mix both errors and warnings in VS2008.........:confused:
-
I am using visual studio 2008 professional and during compilation, the errors and warnings are all displayed together, making it hard to identify the error messages. How do I remove the compile warnings during compilation? And in Visual studio 2005, the warnings and errors have their separate tabs and are nicely separated. Why did microsoft remove this user friendly display and mix both errors and warnings in VS2008.........:confused:
KaKa' wrote:
How do I remove the compile warnings during compilation?
The best way I know of, is not to have any warnnings :). And yes, I'm serious. Why would you want to remove the warnings, they often contain very valuable information and if you want not to be overwhelmed by warnings, try to modify your code so that it doesn't produce any warning anymore.
Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++ -
I am using visual studio 2008 professional and during compilation, the errors and warnings are all displayed together, making it hard to identify the error messages. How do I remove the compile warnings during compilation? And in Visual studio 2005, the warnings and errors have their separate tabs and are nicely separated. Why did microsoft remove this user friendly display and mix both errors and warnings in VS2008.........:confused:
Nothing has been removed. Its still the same. The Error List window had 3 buttons on the top that says Errors, Warnings and Messages. By default all 3 are selected. Here you can control what needs to be shown.
«_Superman_» I love work. It gives me something to do between weekends.
-
I am using visual studio 2008 professional and during compilation, the errors and warnings are all displayed together, making it hard to identify the error messages. How do I remove the compile warnings during compilation? And in Visual studio 2005, the warnings and errors have their separate tabs and are nicely separated. Why did microsoft remove this user friendly display and mix both errors and warnings in VS2008.........:confused:
Not to be too sarcastic, but pay attention to the warnings and fix them. If you find some warnings aren't appropriate for your specific situation, disable the warning with a pragma. (I always compile at Warning Level 4 and typically turn off a [very] few irrelevant warnings.)
Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke