Skip to content

Commit 25ffb23

Browse files
committed
fwd:hpp: Corrected definition of macro EIGENPY_PRAGMA_DEPRECATED_HEADER following pinocchio
1 parent 029c81f commit 25ffb23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/eigenpy/fwd.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
#if defined(EIGENPY_CLANG_COMPILER) || defined(EIGENPY_GCC_COMPILER)
3737
#define EIGENPY_PRAGMA(x) _Pragma(#x)
3838
#define EIGENPY_PRAGMA_MESSAGE(the_message) \
39-
EIGENPY_PRAGMA(GCC message the_message)
39+
EIGENPY_PRAGMA(GCC message #the_message)
4040
#define EIGENPY_PRAGMA_WARNING(the_message) \
41-
EIGENPY_PRAGMA(GCC warning the_message)
41+
EIGENPY_PRAGMA(GCC warning #the_message)
4242
#define EIGENPY_PRAGMA_DEPRECATED(the_message) \
43-
EIGENPY_PRAGMA_WARNING(Deprecated : the_message)
43+
EIGENPY_PRAGMA_WARNING(Deprecated : #the_message)
4444
#define EIGENPY_PRAGMA_DEPRECATED_HEADER(old_header, new_header) \
4545
EIGENPY_PRAGMA_WARNING( \
4646
Deprecated header file : #old_header has been replaced \

0 commit comments

Comments
 (0)