Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
SoDeprecationRules.h File Reference
#include <SoVersion.h>

Go to the source code of this file.

Macros

#define __has_feature(x)   0
 
#define __has_extension(x)   __has_feature
 
#define SoDEPRECATED_ERROR_VERSION   0
 Used to hide APIs deprecated after the given version.
 

Macro Definition Documentation

◆ __has_extension

#define __has_extension (   x)    __has_feature

Definition at line 33 of file SoDeprecationRules.h.

◆ __has_feature

#define __has_feature (   x)    0

Definition at line 29 of file SoDeprecationRules.h.

◆ SoDEPRECATED_ERROR_VERSION

#define SoDEPRECATED_ERROR_VERSION   0

Used to hide APIs deprecated after the given version.

This will cause an error to be signaled at compile time if a deprecated API is used.

By default it is defined to 0.

NOTES

    • all visible deprecated API will generate a warning if used (unless it is deactivated at compiler flag level).
    • all demos/contrib provided by the toolkit do not use any deprecated API.
    • IMPORTANT : A build which use SoDEPRECATED_ERROR_VERSION != 0 must not be run! It may fail silently due to inconsistent declarations in the libraries and user code.

    Definition at line 57 of file SoDeprecationRules.h.