Sign in to follow this  

c++ #warning

This topic is 3479 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
VC has a #pragma message that lets you output a message during compilation, it might be what you're looking for for 'fixme' messages.

Share this post


Link to post
Share on other sites
Sign in to follow this