New user self-registration is currently disabled. Please email eigen-core-team @ if you need an account.
Bug 1113 - Interference with C99 complex standard
Interference with C99 complex standard
Product: Eigen
Classification: Unclassified
Component: Core - general
All All
: Normal Compilation Problem
Assigned To: Nobody
Depends on:
  Show dependency treegraph
Reported: 2015-11-14 20:55 UTC by NumeRe
Modified: 2015-12-10 12:18 UTC (History)
3 users (show)


Description NumeRe 2015-11-14 20:55:21 UTC
If you try to compile Eigen together with some other library using the C99 complex standard (like MathGL, see here: weird messages/compilation errors appear.

We've spotted that it's related to the C99 complex standard defining "I" as an special constant for the imaginary unit. This interferes with the lines 112-129 in "/src/Core/solveTriangular.h". Renaming this variables probably fixes this problem.

Best regards,

Note You need to log in before you can comment on or make changes to this bug.