Fix bug #89: on GCC <= 4.3, use a custom assert implementation to work around a compiler bug

This commit is contained in:
Benoit Jacob
2011-02-16 08:50:19 -05:00
parent 6db8fa7d04
commit 59596efdf7
3 changed files with 89 additions and 43 deletions

View File

@@ -156,9 +156,13 @@
// for min/max:
#include <algorithm>
#if !EIGEN_SAFE_TO_USE_STANDARD_ASSERT_MACRO
#include <iostream> // for custom assert implementation
#endif
// for outputting debug info
#ifdef EIGEN_DEBUG_ASSIGN
#include<iostream>
#include <iostream>
#endif
// required for __cpuid, needs to be included after cmath