Crystal Space: csutil/win32/msvc_deprecated_warn_off.h File Reference (Crystal Space Public API Reference)

| ## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# csutil/win32/msvc_deprecated_warn_off.h File Reference

Disable MSVC deprecated warnings. More...

Go to the source code of this file.

## Detailed Description

Disable MSVC deprecated warnings.

Unfortunately, MSVC is overzealous with deprecated warnings; it even emits one when a deprecated method is overridden, e.g. when implementing an interface method. To work around this, this file is intended to be included from headers before code that causes such "false deprecation" warnings (C4996), as this header will disable it. After such code the file msvc_deprecated_warn_on.h should be included to re-enable the warning.

Definition in file msvc_deprecated_warn_off.h.