Skip to content
Snippets Groups Projects
Commit dcd31144 authored by Drake Arconis's avatar Drake Arconis
Browse files

Supress boost warning

parent 8b273edf
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
#ifndef LL_CALCPARSER_H #ifndef LL_CALCPARSER_H
#define LL_CALCPARSER_H #define LL_CALCPARSER_H
#if LL_WINDOWS
#pragma warning (push)
#pragma warning (disable : 4348) // compiler thinks might use uninitialized var, but no
#endif
#include <boost/spirit/version.hpp> #include <boost/spirit/version.hpp>
#if !defined(SPIRIT_VERSION) || SPIRIT_VERSION < 0x2010 #if !defined(SPIRIT_VERSION) || SPIRIT_VERSION < 0x2010
#error "At least Spirit version 2.1 required" #error "At least Spirit version 2.1 required"
...@@ -231,4 +235,7 @@ bool parse(Iterator &iter, ...@@ -231,4 +235,7 @@ bool parse(Iterator &iter,
} // end namespace expression } // end namespace expression
#if LL_WINDOWS
#pragma warning (pop)
#endif
#endif // LL_CALCPARSER_H #endif // LL_CALCPARSER_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment