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

#1292 Modify the inclusion of one warning so that older XCode (such as those...

#1292 Modify the inclusion of one warning so that older XCode (such as those used in CI) don't trigger a warning.
parent 0c08d68e
......@@ -39,7 +39,7 @@ PRAGMA_DIAGNOSTIC(ignored "-Wundef")
PRAGMA_DIAGNOSTIC(ignored "-Wzero-as-null-pointer-constant")
# endif
# if !defined(__apple_build_version__) && __clang_major__ >= 8
# if !defined(__apple_build_version__) || __clang_major__ >= 11
PRAGMA_DIAGNOSTIC(ignored "-Wextra-semi-stmt")
# endif
......
......@@ -27,7 +27,7 @@ PRAGMA_DIAGNOSTIC(push)
PRAGMA_DIAGNOSTIC(ignored "-Wshadow-field")
# endif
# if !defined(__apple_build_version__) && __clang_major__ >= 8
# if !defined(__apple_build_version__) || __clang_major__ >= 11
PRAGMA_DIAGNOSTIC(ignored "-Wextra-semi-stmt")
# endif
......
......@@ -25,7 +25,9 @@ PRAGMA_DIAGNOSTIC(ignored "-Wparentheses") // at least for gcc \todo #1292
PRAGMA_DIAGNOSTIC(ignored "-Wweak-vtables")
PRAGMA_DIAGNOSTIC(ignored "-Wnewline-eof")
PRAGMA_DIAGNOSTIC(ignored "-Wunused-template")
# if !defined(__apple_build_version__) || __clang_major__ >= 11
PRAGMA_DIAGNOSTIC(ignored "-Wextra-semi-stmt")
# endif
# endif // __clang__
# include "xtensor/xtensor.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