mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 12:46:00 +08:00
bug #383 - EIGEN_ASM_COMMENT broken in C++11
this is due to the new user-defined literals syntax.
This commit is contained in:
parent
99d8e5de2b
commit
874d4e9f30
@ -252,7 +252,7 @@
|
|||||||
#define EIGEN_UNUSED_VARIABLE(var) (void)var;
|
#define EIGEN_UNUSED_VARIABLE(var) (void)var;
|
||||||
|
|
||||||
#if (defined __GNUC__)
|
#if (defined __GNUC__)
|
||||||
#define EIGEN_ASM_COMMENT(X) asm("#"X)
|
#define EIGEN_ASM_COMMENT(X) asm("#" X)
|
||||||
#else
|
#else
|
||||||
#define EIGEN_ASM_COMMENT(X)
|
#define EIGEN_ASM_COMMENT(X)
|
||||||
#endif
|
#endif
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined __GNUC__)
|
#if (defined __GNUC__)
|
||||||
#define BTL_ASM_COMMENT(X) asm("#"X)
|
#define BTL_ASM_COMMENT(X) asm("#" X)
|
||||||
#else
|
#else
|
||||||
#define BTL_ASM_COMMENT(X)
|
#define BTL_ASM_COMMENT(X)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user