csutil/deprecated_warn_on.h File Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

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

- File List
- File Members

csutil/deprecated_warn_on.h File Reference

Re-enable "deprecated" compiler warnings. More...

Go to the source code of this file.

## Detailed Description

Re-enable "deprecated" compiler warnings.

Compilers are occasionally overzealous with deprecation warnings; they're even emitted when not desired, for example, when a deprecated method is overridden, which inevitably happens when implementing an interface method. To work around this, the file "deprecated_warn_off.h" is intended to be included from headers * before code that causes such "false deprecation" warnings, as that header will disable it. After such code this should be included to re-enable the warning.

Definition in file deprecated_warn_on.h.