octomap 1.5.0
include/octomap/octomap_deprecated.h
Go to the documentation of this file.
00001 #ifndef OCTOMAP_DEPRECATED_H
00002 #define OCTOMAP_DEPRECATED_H
00003 
00004 // define multi-platform deprecation mechanism
00005 #ifndef DEPRECATED
00006   #ifdef __GNUC__
00007     #define DEPRECATED(func) func __attribute__ ((deprecated))
00008   #elif defined(_MSC_VER)
00009     #define DEPRECATED(func) __declspec(deprecated) func
00010   #else
00011     #pragma message("WARNING: You need to implement DEPRECATED for this compiler")
00012     #define DEPRECATED(func) func
00013   #endif
00014 #endif
00015 
00016 #endif