clang produces many warnings inside boost 1.62 of the following kind:
/ssd/deal-
git/bundled/boost-1.62.0/include/boost/archive/detail/iserializer.hpp:69:7:
warning: macro expansion producing 'defined' has undefined behavior
[-Wexpansion-to-defined]
#if ! DONT_USE_HAS_NEW_OPERATOR
^
/ssd/deal-
git/bundled/boost-1.62.0/include/boost/archive/detail/iserializer.hpp:63:12:
note: expanded from macro 'DONT_USE_HAS_NEW_OPERATOR'
|| defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x590) \
^
So I am adding this to DISABLE_EXTRA_DIAGNOSTICS because we can not fix
boost.
_Pragma("GCC diagnostic ignored \"-Wunused-private-field\"") \
_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \
_Pragma("GCC diagnostic ignored \"-Wunused-but-set-variable\"") \
+_Pragma("GCC diagnostic ignored \"-Wexpansion-to-defined\"") \
_Pragma("GCC diagnostic warning \"-Wpragmas\"")
# define DEAL_II_ENABLE_EXTRA_DIAGNOSTICS \
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams