Commit f38c6104 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1292 Fix ubuntu gcc debug warnings.

parent 4db6056e
......@@ -12,16 +12,21 @@
# include "Utilities/Pragma/Pragma.hpp"
PRAGMA_DIAGNOSTIC(push)
PRAGMA_DIAGNOSTIC(ignored "-Wshadow-field-in-constructor")
PRAGMA_DIAGNOSTIC(ignored "-Wshadow")
PRAGMA_DIAGNOSTIC(ignored "-Wundef")
PRAGMA_DIAGNOSTIC(ignored "-Wcomma")
PRAGMA_DIAGNOSTIC(ignored "-Wswitch-enum")
PRAGMA_DIAGNOSTIC(ignored "-Wweak-vtables")
PRAGMA_DIAGNOSTIC(ignored "-Wunused-template")
PRAGMA_DIAGNOSTIC(ignored "-Wfloat-equal")
PRAGMA_DIAGNOSTIC(ignored "-Wnewline-eof")
PRAGMA_DIAGNOSTIC(ignored "-Wextra-semi-stmt")
PRAGMA_DIAGNOSTIC(ignored "-Wparentheses") // at least for gcc \todo #1292
# ifdef __clang__
PRAGMA_DIAGNOSTIC(ignored "-Wshadow-field-in-constructor")
PRAGMA_DIAGNOSTIC(ignored "-Wcomma")
PRAGMA_DIAGNOSTIC(ignored "-Wweak-vtables")
PRAGMA_DIAGNOSTIC(ignored "-Wnewline-eof")
PRAGMA_DIAGNOSTIC(ignored "-Wunused-template")
# endif // __clang__
# include "xtensor/xtensor.hpp"
# include "xtensor/xio.hpp"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment