All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
portability.hh File Reference
#include <roboptim/core/config.hh>

Macros

#define ROBOPTIM_UNUSED
 
#define ROBOPTIM_ALLOW_DEPRECATED_ON
 
#define ROBOPTIM_ALLOW_DEPRECATED_OFF
 
#define ROBOPTIM_ALLOW_ATTRIBUTES_ON
 
#define ROBOPTIM_ALLOW_ATTRIBUTES_OFF
 
#define ROBOPTIM_GCC_ETI_WORKAROUND
 

Macro Definition Documentation

#define ROBOPTIM_ALLOW_ATTRIBUTES_OFF
#define ROBOPTIM_ALLOW_ATTRIBUTES_ON
#define ROBOPTIM_ALLOW_DEPRECATED_OFF
Value:
/* Re-enable deprecated warning */ \
_Pragma ("GCC diagnostic pop")

Referenced by roboptim::checkGradient(), roboptim::checkGradientAndThrow(), roboptim::checkJacobian(), and roboptim::checkJacobianAndThrow().

#define ROBOPTIM_ALLOW_DEPRECATED_ON
Value:
/* Disable deprecated warning */ \
_Pragma ("GCC diagnostic push") \
_Pragma ("GCC diagnostic ignored \"-Wdeprecated-declarations\"")

Referenced by roboptim::checkGradient(), roboptim::checkGradientAndThrow(), roboptim::checkJacobian(), and roboptim::checkJacobianAndThrow().

#define ROBOPTIM_GCC_ETI_WORKAROUND
#define ROBOPTIM_UNUSED