DeprecationWarnings.h
Go to the documentation of this file.
00001 // kate: replace-tabs off; indent-width 4; indent-mode normal
00002 // vim: ts=4:sw=4:noexpandtab
00003 /*
00004 Copyright (c) 2010--2012,
00005 François Pomerleau and Stephane Magnenat, ASL, ETHZ, Switzerland
00006 You can contact the authors at <f dot pomerleau at gmail dot com> and
00007 <stephane at magnenat dot net>
00008 All rights reserved.
00009 Redistribution and use in source and binary forms, with or without
00010 modification, are permitted provided that the following conditions are met:
00011     * Redistributions of source code must retain the above copyright
00012       notice, this list of conditions and the following disclaimer.
00013     * Redistributions in binary form must reproduce the above copyright
00014       notice, this list of conditions and the following disclaimer in the
00015       documentation and/or other materials provided with the distribution.
00016     * Neither the name of the <organization> nor the
00017       names of its contributors may be used to endorse or promote products
00018       derived from this software without specific prior written permission.
00019 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
00020 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00021 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00022 DISCLAIMED. IN NO EVENT SHALL ETH-ASL BE LIABLE FOR ANY
00023 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00024 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00025 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00026 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00027 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00028 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00029 */
00030 
00031 #ifndef __POINTMATCHER_DEPRECATION_WARNINGS_H
00032 #define __POINTMATCHER_DEPRECATION_WARNINGS_H
00033 
00034 
00035 #if __cplusplus >= 201402L
00036 #define PM_DEPRECATED(msg) [[deprecated(msg)]]
00037 #define PM_DEPRECATION_SUPPORTED
00038 #elif defined(__GNUC__)
00039 #define PM_DEPRECATED(msg) __attribute__((deprecated))
00040 #define PM_DEPRECATION_SUPPORTED
00041 #elif defined(_MSC_VER)
00042 #define PM_DEPRECATED(msg) __declspec(deprecated)
00043 #define PM_DEPRECATION_SUPPORTED
00044 #else
00045 #define PM_DEPRECATED(msg)
00046 #endif
00047 
00048 #endif /* __POINTMATCHER_DEPRECATION_WARNINGS_H */


libpointmatcher
Author(s):
autogenerated on Thu Jun 20 2019 19:51:29