Open CASCADE Technology  7.5.0
Standard_WarningsRestore.hxx File Reference

Restores compiler warnings suppressed by inclusion of Standard_WarningsDisable.hxx. More...

Detailed Description

Restores compiler warnings suppressed by inclusion of Standard_WarningsDisable.hxx.

Standard_WarningsDisable.hxx disables all compiler warnings. Standard_WarningsRestore.hxx restore the previous state of warnings.

Use these headers to wrap include directive containing external (non-OCCT) header files to avoid compiler warnings to be generated for these files. They should always be used in pair:

#include <dirty_header.h> // some header that can generate warnings