fix "empty macro arguments are undefined in ISO C90 and ISO C++98"

warning found by gcc-svn
This commit is contained in:
Gael Guennebaud
2009-01-27 17:40:14 +00:00
parent bea1737a5a
commit d700343632
2 changed files with 11 additions and 8 deletions

View File

@@ -165,6 +165,9 @@ using Eigen::ei_cos;
#define EIGEN_DEFAULT_IO_FORMAT Eigen::IOFormat()
#endif
// just an empty macro !
#define EIGEN_EMPTY
// format used in Eigen's documentation
// needed to define it here as escaping characters in CMake add_definition's argument seems very problematic.
#define EIGEN_DOCS_IO_FORMAT IOFormat(3, AlignCols, " ", "\n", "", "")