[Dune] Exception specifier for *operator new in debugallocator

Christian Engwer christian.engwer at uni-muenster.de
Wed Oct 10 10:45:31 CEST 2012


On Wed, Oct 10, 2012 at 10:34:48AM +0200, Christoph GrĂ¼ninger wrote:
> Hello Christian,
> you are posing the right question. It seems to be the -pedantic
> flag. If I remove it, my g++-4.7 accepts it with and without
> -std=c++11 / -std=c++0x. If I remove the -std=c++11 / -std=c++0x it
> works, too.
> Clang 3.1 does not bother in any case.
> 
> Probably I have to drop -pedantic.

Either we update the configure-tests to check for the wright
signature, or you have to drop pedantic. As this is a debugging
feature and usually shouldn't break production code, I'm tempted to
leave it as it is.

Christian





More information about the Dune mailing list