[Dune] [#1101] nullptr test fails if configureflags include -Werror

Dune flyspray at dune-project.org
Thu May 10 15:58:29 CEST 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1101 - nullptr test fails if configureflags include -Werror
User who did this - Matthias Wohlmuth (matthias)

----------
I agree Martin. However, imagine you can compile all your code without warnings using the following flags
--enable-shared CXX=g++-4.6 CC=gcc-4.6 FC=gfortran F77=gfortran --enable-fieldvector-size-is-method --disable-documentation CXXFLAGS="-std=c++0x -Wall -O0 -flto -fno-strict-aliasing -Wno-unused-but-set-variable -Wno-deprecated-declarations -fPIC -DPIC -flto -lpthread
Then you would expect, that it also compiles with -Werror. Instead, you get a compiler error in common/nullptr.h which does not tell you anything about the fact, that the reason for the error lies in the build system.... This was kind of annoying, as I first tried to fix my code, before I realized the real issue.
----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=1101#comment3503

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list