diff --git a/include/eigenpy/fwd.hpp b/include/eigenpy/fwd.hpp index a2709c72ef6749d3ff728bc6444413f0fa5e14d7..7db101c7a1545d7efccba8753dab0809d4216c47 100644 --- a/include/eigenpy/fwd.hpp +++ b/include/eigenpy/fwd.hpp @@ -37,9 +37,9 @@ #elif defined(WIN32) #define EIGENPY_PRAGMA(x) __pragma(#x) #define EIGENPY_PRAGMA_MESSAGE(the_message) \ - EIGENPY_PRAGMA(message(EIGENPY_STRINGIZE(the_message))) + EIGENPY_PRAGMA(message(#the_message)) #define EIGENPY_PRAGMA_WARNING(the_message) \ - EIGENPY_PRAGMA(message("WARNING: " EIGENPY_STRINGIZE(the_message))) + EIGENPY_PRAGMA(message(EIGENPY_STRINGCAT("WARNING: ", the_message))) #endif #define EIGENPY_DEPRECATED_MACRO(macro, the_message) \