avoid lambda.hpp warnings

release/4.3a0
Frank Dellaert 2012-09-16 17:52:49 +00:00
parent 338ea6e920
commit 538714fb69
1 changed files with 3 additions and 0 deletions

View File

@ -17,7 +17,10 @@
#include <string.h> #include <string.h>
#include <boost/format.hpp> #include <boost/format.hpp>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
#include <boost/lambda/lambda.hpp> #include <boost/lambda/lambda.hpp>
#pragma GCC diagnostic pop
#include <boost/lambda/bind.hpp> #include <boost/lambda/bind.hpp>
#include <gtsam/linear/linearExceptions.h> #include <gtsam/linear/linearExceptions.h>