Skip to content
Snippets Groups Projects
Commit 4c67a591 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

fix clang warning on c++11-extensions for muparserx

parent 55d86415
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,15 @@
#include "itkLightObject.h"
#include "itkObjectFactory.h"
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wc++11-extensions"
#include "mpParser.h"
#pragma GCC diagnostic pop
#else
#include "mpParser.h"
#endif
namespace otb
{
......@@ -76,7 +84,7 @@ public:
/** Return the list of variables */
const mup::var_maptype& GetVar() const;
/** Return the list of expression variables (only make sense after having set up an expression) */
const mup::var_maptype& GetExprVar() const;
......
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