#543 poolallocatortest does not compile with gcc-4.3.3
Metadata
| Property | Value | 
|---|---|
| Reported by | Christian Grümme (gruemme@mi.fu-berlin.de) | 
| Reported at | Apr 21, 2009 19:07 | 
| Type | Bug Report | 
| Version | Git (pre2.4) [autotools] | 
| Operating System | Linux | 
| Last edited by | Markus Blatt (markus@dr-blatt.de) | 
| Last edited at | Apr 22, 2009 14:12 | 
| Closed by | Markus Blatt (markus@dr-blatt.de) | 
| Closed at | Apr 22, 2009 14:12 | 
| Closed in version | Unknown | 
| Resolution | Fixed | 
| Comment | Seemed to be some template name lookup problem. | 
Description
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.