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



Attachments

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: https://groups.google.com/d/msg/mathgl/e13HvSB_nyg/xiuCw0teAgAJ) 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,
NumeRe

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