c++ #warning

Started by
1 comment, last by mattnewport 15 years, 9 months ago
I want to be able to generate my own warnings as a type of "fixme" reminder. How do I do this? In C# you can do it as #warning this is a level one warning. Also, I want to disable all warnings for some third party legacy code, there are far too many warnings to pragma push each warning individually. Googling both of these things seems to imply that they aren't possible. I use vc2005
Advertisement
Look Here.

C++: A Dialog | C++0x Features: Part1 (lambdas, auto, static_assert) , Part 2 (rvalue references) , Part 3 (decltype) | Write Games | Fix Your Timestep!

VC has a #pragma message that lets you output a message during compilation, it might be what you're looking for for 'fixme' messages.

Game Programming Blog: www.mattnewport.com/blog

This topic is closed to new replies.

Advertisement