casuppress.h 1.0 KB

123456789101112131415161718192021222324
  1. //
  2. //////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Copyright 2015 Autodesk, Inc. All rights reserved.
  5. //
  6. // Use of this software is subject to the terms of the Autodesk license
  7. // agreement provided at the time of installation or download, or which
  8. // otherwise accompanies this software in either electronic or hard copy form.
  9. //
  10. //////////////////////////////////////////////////////////////////////////////
  11. #pragma once
  12. //This header file is used to suppress warnings from the /analyze flag. These warnings
  13. //are very useful and should be dealt with but we can't unleash them all at once
  14. //
  15. //The compiler can only handle 56 #pragma warning statements so we group the warnings by 10
  16. #pragma warning(disable:6011 6309 6308 6244 6031 6387 6320 6255 6322 6386 6385 6246)
  17. #pragma warning(disable:6209 6276 6335 6510 6516 6001 6262 6054 6211 6293 6295 6297)
  18. #pragma warning(disable:6269 6305 6216 6239 6059 6328 6326 6202 6200 6263 6271 6292)
  19. #pragma warning(disable:6258 6400)
  20. //#pragma warning(error:4238 4296 4213)