Main MRPT website > C++ reference for MRPT 1.3.2
octomap_deprecated.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2015, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 #ifndef OCTOMAP_DEPRECATED_H
10 #define OCTOMAP_DEPRECATED_H
11 
12 // define multi-platform deprecation mechanism
13 #ifndef DEPRECATED
14  #ifdef __GNUC__
15  #define DEPRECATED(func) func __attribute__ ((deprecated))
16  #elif defined(_MSC_VER)
17  #define DEPRECATED(func) __declspec(deprecated) func
18  #else
19  #pragma message("WARNING: You need to implement DEPRECATED for this compiler")
20  #define DEPRECATED(func) func
21  #endif
22 #endif
23 
24 #endif



Page generated by Doxygen 1.8.11 for MRPT 1.3.2 SVN:Unversioned directory at Sun May 1 08:45:24 UTC 2016