diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-01-22 00:09:34 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-01-22 00:09:34 +0000 |
commit | 9e3c73110af86ccedbb2ba46d6c11e1a2c71c32e (patch) | |
tree | a4b0fcdb38fbd166d0905f70092ffc8a9d1742d9 /test/nomalloc.cpp | |
parent | 4225b7bf5788755246b94073ef194fe130f1f1e2 (diff) |
fix a bunch of warnings (actual issues) reported by Frank
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 82119e9b3..5497ca339 100644 --- a/test/nomalloc.cpp +++ b/test/nomalloc.cpp @@ -24,7 +24,9 @@ // Eigen. If not, see <http://www.gnu.org/licenses/>. // this hack is needed to make this file compiles with -pedantic (gcc) +#ifdef __GNUC__ #define throw(X) +#endif // discard stack allocation as that too bypasses malloc #define EIGEN_STACK_ALLOCATION_LIMIT 0 // any heap allocation will raise an assert |