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:
Thomas Capricelli
2010-05-21 02:05:25 +02:00
parent 742bbdfa57
commit c1d005e976
4 changed files with 18 additions and 2 deletions

View File

@@ -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