Skip to content

Instantly share code, notes, and snippets.

@leidegre
Created February 26, 2017 16:32
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 leidegre/0cd84189897a6539b073d0782edfa3f3 to your computer and use it in GitHub Desktop.
Save leidegre/0cd84189897a6539b073d0782edfa3f3 to your computer and use it in GitHub Desktop.
CL command line, typical warnings to enable
"/MDd",
"/Zi",
"/FS",
"/W4", // warning level 4
"/we4013", // undefined; assuming extern returning int
"/we4020", // different types for formal and actual parameter
"/we4024", // too many actual parameters
"/we4047", // differs in levels of indirection
"/we4244", // 'conversion' conversion from 'type1' to 'type2', possible loss of data
// "/we4456", // declaration of '...' hides previous local declaration (issue with glew.c)
// "/Wall",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment