[Dune] [#543] poolallocatortest does not compile with gcc-4.3.3 (Attachment added)

Dune dune at dune-project.org
Tue Apr 21 21:07:24 CEST 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Christian Grümme (gruemme) 

Attached to Project - Dune
Summary - poolallocatortest does not compile with gcc-4.3.3
Task Type - Bug Report
Category - Common
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - I'm using Ubuntu 9.04 RC and gcc 4.3.3 and the poolallocatortest does not compile:

$ make poolallocatortest
g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../..  -I../..   -g -O2 -Wall -MT poolallocatortest.o -MD -MP -MF .deps/poolallocatortest.Tpo -c -o poolallocatortest.o poolallocatortest.cc
In file included from poolallocatortest.cc:5:
.../../dune/common/poolallocator.hh:541: Fehler: in Konflikt stehende Deklaration »Dune::Pool<T, Dune::PoolAllocator::size> Dune::PoolAllocator<T, s>::memoryPool_«
.../../dune/common/poolallocator.hh:362: Fehler: »Dune::PoolAllocator<T, s>::memoryPool_« hat eine vorherige Deklaration als »Dune::Pool<T, Dune::PoolAllocator<T, s>::size> Dune::PoolAllocator<T, s>::memoryPool_«
.../../dune/common/poolallocator.hh:541: Fehler: Deklaration von »Dune::Pool<T, Dune::PoolAllocator<T, s>::size> Dune::PoolAllocator<T, s>::memoryPool_« außerhalb einer Klasse ist keine Definition
make: *** [poolallocatortest.o] Fehler 1

When I configure it with 'CXX=g++-4.2', it does compile. 

I'm using dune-common svn Revision 5505. I tried to compile it with dune-common 1.2 and it failed also.

Perhaps this is just an issue with Ubuntu 9.04 RC because on other systems like Debian Lenny it compiles with gcc-4.3.3.


One or more files have been attached.

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

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