fix a bunch of warnings (actual issues) reported by Frank

This commit is contained in:
Benoit Jacob
2009-01-22 00:09:34 +00:00
parent 4225b7bf57
commit 9e3c73110a
5 changed files with 10 additions and 9 deletions

View File

@@ -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