diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2015-02-21 19:43:56 +0100 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2015-02-21 19:43:56 +0100 |
commit | 6af6cf0c2e1f4e19971a95176f3d6cde7ce20bd6 (patch) | |
tree | e3eff0ad4d6cce855a7d32fd4e8dd2af75435ca7 /test | |
parent | 3cf642baa3209a1492150e50a5d2d8ab9e5c3814 (diff) |
I can reproduce any problems that justified this hack. However it makes builds fail in C++11 mode.
Diffstat (limited to 'test')
-rw-r--r-- | test/nomalloc.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp index 306664210..060276a20 100644 --- a/test/nomalloc.cpp +++ b/test/nomalloc.cpp @@ -8,19 +8,9 @@ // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -// this hack is needed to make this file compiles with -pedantic (gcc) -#ifdef __GNUC__ -#define throw(X) -#endif - -#ifdef __INTEL_COMPILER - // disable "warning #76: argument to macro is empty" produced by the above hack - #pragma warning disable 76 -#endif - // discard stack allocation as that too bypasses malloc #define EIGEN_STACK_ALLOCATION_LIMIT 0 -// any heap allocation will raise an assert +// heap allocation will raise an assert if enabled at runtime #define EIGEN_RUNTIME_NO_MALLOC #include "main.h" |