diff options
Diffstat (limited to 'test/nomalloc.cpp')
-rw-r--r-- | test/nomalloc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp index 6d40222a4..d6c566bef 100644 --- a/test/nomalloc.cpp +++ b/test/nomalloc.cpp @@ -22,7 +22,9 @@ // License and a copy of the GNU General Public License along with // Eigen. If not, see <http://www.gnu.org/licenses/>. +// this hack is needed to make this file compiles with -pedantic (gcc) #define throw(X) +// discard vectorization since operator new is not called in that case #define EIGEN_DONT_VECTORIZE 1 #include "main.h" |