SoDeprecationRules.h File Reference

#include <SoVersion.h>

Go to the source code of this file.

Defines

#define __has_feature(x)   0
#define __has_extension(x)   __has_feature
#define SoDEPRECATED_ERROR_VERSION   0

Define Documentation

#define __has_extension ( x   )     __has_feature
#define __has_feature ( x   )     0
#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.

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/