C++ Tip [warning surpressing]

All, Tips

Sometimes we are facing so many warning that we cant just ignore them. Actually we should not, at least by Cpp Coding Standard by Andrei Alexandrescu. In this book, it is recommended to clean those high level warnings.

To do this in VS 2015 we just need to change the project properties by adding the Specific Warning. So going in the project configuration, below C/C++ tab, in Advanced Settings and adding the code to be ignored in ”Disable Specific Warning”

Source: https://msdn.microsoft.com/en-us/library/jj715718.aspx

Image demonstrating how to do it:


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s