aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/Core
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-03-04 12:34:58 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-03-04 12:34:58 +0000
commitf65cca5d1d28cff4880026d48a9e95b279bed3e3 (patch)
tree33b8efd96071734e14fd83bdbc2886d4e76550b3 /Eigen/Core
parent46885d33bfd6cdcf3040923a4aef1b059684b854 (diff)
* Eigen compiles with any GCC versions from, at least, 3.3 without the previous ugly hack :)
* Renamed the scalar functors with the "Scalar" prefix (instead of "Cwise")
Diffstat (limited to 'Eigen/Core')
-rw-r--r--Eigen/Core11
1 files changed, 0 insertions, 11 deletions
diff --git a/Eigen/Core b/Eigen/Core
index e4dcfc96e..7fc048729 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -4,14 +4,6 @@
#include <cassert>
#include <iostream>
-#if ((defined __GNUC__) && ( (__GNUC__==3) || (__GNUC__==4) && __GNUC_MINOR__==0))
-/* This very ugly hack to fix a bug of gcc <4.1 with the Curiously recurring template pattern and friend class.
- Note that gcc-4.0.1 is still the default compiler on MACOSX Leopard.
-*/
-#define private public
-#warning "Your compiler (gcc<4.1) has issue with friend and CRT, all private members of Eigen's classes are made public"
-#endif
-
namespace Eigen {
#include "src/Core/Util.h"
@@ -50,6 +42,3 @@ namespace Eigen {
} // namespace Eigen
-#if ((defined __GNUC__) && (__GNUC_MINOR__==0))
-#undef private
-#endif