Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
918 B

  1. //=--------------------------------------------------------------------------=
  2. // VC5Warn.h
  3. //=--------------------------------------------------------------------------=
  4. // Copyright 1995 Microsoft Corporation. All Rights Reserved.
  5. //
  6. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  7. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  8. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  9. // PARTICULAR PURPOSE.
  10. //=--------------------------------------------------------------------------=
  11. //
  12. // disables several VC5 warnings that trip framewrk definitions
  13. //
  14. // warning C4291: no matching operator delete found; memory will not be
  15. // freed if initialization throws an exception. This happens on Alpha builds
  16. // because class CtlNewDelete in macros.h does not define a matching delete
  17. // operator.
  18. #if defined(ALPHA)
  19. #pragma warning(disable:4291)
  20. #endif