OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Standard_WarningsDisable.hxx File Reference

    Suppresses compiler warnings. More...

    Detailed Description

    Suppresses 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
    Suppresses compiler warnings.
    Restores compiler warnings suppressed by inclusion of Standard_WarningsDisable.hxx.