]> https://gitweb.dealii.org/ - dealii.git/commit
disable clangs expansion-to-defined warning 3706/head
authorTimo Heister <timo.heister@gmail.com>
Sat, 24 Dec 2016 08:09:25 +0000 (09:09 +0100)
committerTimo Heister <timo.heister@gmail.com>
Sat, 24 Dec 2016 08:09:25 +0000 (09:09 +0100)
commit784b2216493731d44e66bb2d4af01353732a33fc
tree2c3f89a2edeac2435547154b05433e10b449b43a
parentea0b0ee5aad3a70a701cfa4b03dd8f3b19629574
disable clangs expansion-to-defined warning

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.
include/deal.II/base/config.h.in

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


Typeset in Trocchi and Trocchi Bold Sans Serif.