unittest/utils/macros.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2018 CNRS
3 //
4 
5 #ifndef __pinocchio_unit_test_utils_macros_hpp__
6 #define __pinocchio_unit_test_utils_macros_hpp__
7 
8 #ifdef __clang__
9  #include <boost/variant.hpp> // to avoid some warning with clang
10 #endif
11 
12 //#ifdef __clang__
13 // #define BEGIN_UNIT_TEST_SECTION _Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wc99-extensions\" ")
14 //#else
15 // #define BEGIN_UNIT_TEST_SECTION
16 //#endif
17 //
18 //#ifdef __clang__
19 // #define END_UNIT_TEST_SECTION _Pragma("clang diagnostic pop")
20 //#else
21 // #define END_UNIT_TEST_SECTION
22 //#endif
23 
24 #endif // ifndef __pinocchio_unit_test_utils_macros_hpp__


pinocchio
Author(s):
autogenerated on Tue Jun 1 2021 02:45:04