From 60726f91a9bd49b235389f5162f00dbc27ac995d Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 4 Jun 2008 10:15:48 +0000 Subject: [PATCH] hack to to make the nomalloc unit test compiles with -pedantic --- test/nomalloc.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp index 277e98630..6d40222a4 100644 --- a/test/nomalloc.cpp +++ b/test/nomalloc.cpp @@ -22,11 +22,10 @@ // License and a copy of the GNU General Public License along with // Eigen. If not, see . +#define throw(X) #define EIGEN_DONT_VECTORIZE 1 #include "main.h" -// #define CUSTOM_NEW_DELETE(TYPE) - void* operator new[] (size_t n) { ei_assert(false && "operator new should never be called with fixed size path");