aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-12-07 02:17:15 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-12-07 02:17:15 -0500
commit819bcbed192b3b04962bdcc8e99605280e21b4a1 (patch)
treec2e0752aa57a000f85e0c98a5992d7dc601b3f6f /Eigen
parent7a7ca99a31effa462535d72b7c2e3e3442a91c1b (diff)
fix comment
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/Core3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/Core b/Eigen/Core
index 2a77779f0..b0310cb85 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -94,12 +94,13 @@
// include files
- // This extern "C" works around a MINGW-w64 bug
+ // This extern "C" works around a MINGW-w64 compilation issue
// https://sourceforge.net/tracker/index.php?func=detail&aid=3018394&group_id=202880&atid=983354
// In essence, intrin.h is included by windows.h and also declares intrinsics (just as emmintrin.h etc. below do).
// However, intrin.h uses an extern "C" declaration, and g++ thus complains of duplicate declarations
// with conflicting linkage. The linkage for intrinsics doesn't matter, but at that stage the compiler doesn't know;
// so, to avoid compile errors when windows.h is included after Eigen/Core, ensure intrinsics are extern "C" here too.
+ // notice that since these are C headers, the extern "C" is theoretically needed anyways.
extern "C" {
#include <emmintrin.h>
#include <xmmintrin.h>