mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
introduce a new macro EIGEN_ARG_UNUSED(arg) and use it in some places to
silent some warnings (from clang)
This commit is contained in:
@@ -172,6 +172,8 @@
|
||||
#define EIGEN_UNUSED
|
||||
#endif
|
||||
|
||||
#define EIGEN_ARG_UNUSED(x) (void)x;
|
||||
|
||||
#if (defined __GNUC__)
|
||||
#define EIGEN_ASM_COMMENT(X) asm("#"X)
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user