This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 1113 - Interference with C99 complex standard
Summary: Interference with C99 complex standard
Status: RESOLVED FIXED
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: 3.2
Hardware: All All
: Normal Compilation Problem
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-14 20:55 UTC by NumeRe
Modified: 2019-12-04 15:11 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
Comment 2 Nobody 2019-12-04 15:11:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1113.

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