Skip to content

Instantly share code, notes, and snippets.

@RinGotou
Last active February 2, 2020 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RinGotou/16ec703ae510ba7ea43ef8c34f89c1b0 to your computer and use it in GitHub Desktop.
Save RinGotou/16ec703ae510ba7ea43ef8c34f89c1b0 to your computer and use it in GitHub Desktop.
Disable Stupid and Annoying Warning in Visual Studio 2019(C/C++)
#if defined(_MSC_VER)
//Disable STUPID visual studio intellisense warning
#pragma warning(disable:4996)
#pragma warning(disable:6031)
#pragma warning(disable:6387)
#pragma warning(disable:26812)
#pragma warning(disable:26439)
#pragma warning(disable:26444)
#pragma warning(disable:26451)
#pragma warning(disable:26495)
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment