HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SYS_Deprecated.h File Reference
#include "SYS_Pragma.h"
+ Include dependency graph for SYS_Deprecated.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SYS_DEPRECATED(__V__)
 
#define SYS_DEPRECATED_REPLACE(__V__, __R__)
 
#define SYS_DEPRECATED_HDK(__V__)   SYS_DEPRECATED(__V__)
 
#define SYS_DEPRECATED_HDK_REPLACE(__V__, __R__)   SYS_DEPRECATED_REPLACE(__V__, __R__)
 
#define SYS_DEPRECATED_PUSH_DISABLE()   SYS_PRAGMA(GCC diagnostic ignored "-Wdeprecated-declarations")
 
#define SYS_DEPRECATED_POP_DISABLE()   SYS_PRAGMA(GCC diagnostic warning "-Wdeprecated-declarations")
 

Macro Definition Documentation

#define SYS_DEPRECATED (   __V__)

Mark function as deprecated and may be removed in the future.

Note
This qualifier can only appear in function declarations.

Definition at line 38 of file SYS_Deprecated.h.

#define SYS_DEPRECATED_HDK (   __V__)    SYS_DEPRECATED(__V__)

Definition at line 44 of file SYS_Deprecated.h.

#define SYS_DEPRECATED_HDK_REPLACE (   __V__,
  __R__ 
)    SYS_DEPRECATED_REPLACE(__V__, __R__)

Definition at line 45 of file SYS_Deprecated.h.

#define SYS_DEPRECATED_POP_DISABLE ( )    SYS_PRAGMA(GCC diagnostic warning "-Wdeprecated-declarations")

Definition at line 64 of file SYS_Deprecated.h.

#define SYS_DEPRECATED_PUSH_DISABLE ( )    SYS_PRAGMA(GCC diagnostic ignored "-Wdeprecated-declarations")

Temporarily disable deprecation warnings. The PUSH/POPs must match!

Note
Only implemented for Visual C++ and gcc 4.6 Hopefully this works sufficiently to locally disable deprecation warnings in GCC 4.4 and before.

Definition at line 62 of file SYS_Deprecated.h.

#define SYS_DEPRECATED_REPLACE (   __V__,
  __R__ 
)

Definition at line 39 of file SYS_Deprecated.h.