Open CASCADE Technology  7.5.0

Standard_WarningsDisable.hxx File Reference

Supresses compiler warnings. More...

Detailed Description

Supresses compiler warnings.

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