From 934b8a1304f4d210520c1b158c2ee3da78062532 Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Fri, 25 Jan 2019 14:54:39 +0100 Subject: Avoid `I` as an identifier, since it may clash with the C-header complex.h --- test/main.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/main.h') diff --git a/test/main.h b/test/main.h index 8a68a84ee..0b5821cd5 100644 --- a/test/main.h +++ b/test/main.h @@ -97,6 +97,8 @@ #define FORBIDDEN_IDENTIFIER (this_identifier_is_forbidden_to_avoid_clashes) this_identifier_is_forbidden_to_avoid_clashes // B0 is defined in POSIX header termios.h #define B0 FORBIDDEN_IDENTIFIER +// `I` may be defined by complex.h: +#define I FORBIDDEN_IDENTIFIER // Unit tests calling Eigen's blas library must preserve the default blocking size // to avoid troubles. -- cgit v1.2.3