Advertisement Jump to content
Sign in to follow this  
thedustbustr

c++ #warning

This topic is 3848 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
Advertisement
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  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!