[Dune] [#844] Compilation problem with RemoteIndices on GCC 4.5.0 (Attachment added)

Dune flyspray at dune-project.org
Fri Nov 26 16:40:50 CET 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

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

User who did this - Andreas Lauser (andlaus) 

Attached to Project - Dune
Summary - Compilation problem with RemoteIndices on GCC 4.5.0
Task Type - Bug Report
Category - Dune Core Modules
Status - Unconfirmed
Assigned To - 
Operating System - Unspecified / All
Severity - Medium
Priority - Normal
Reported Version - 2.0
Due in Version - Undecided
Due Date - Undecided
Details - when I try to compile a parallel linear solver which uses the RemoteIndices class, I get errors of the following kind:

/temp/lauser/DUMUX/dune-common/dune/common/parallel/remoteindices.hh:1515:3: error: prototype for ‘typename std::map<int, std::pair<Dune::SLList<Dune::RemoteIndex<typename T::GlobalIndex, typename T::LocalIndex::Attribute>, typename A::rebind<Dune::RemoteIndices<T, A>::RemoteIndex>::other>*, Dune::SLList<Dune::RemoteIndex<typename T::GlobalIndex, typename T::LocalIndex::Attribute>, typename A::rebind<Dune::RemoteIndices<T, A>::RemoteIndex>::other>*> >::const_iterator Dune::RemoteIndices<T, A>::find(int) const’ does not match any in class ‘Dune::RemoteIndices<T, A>’
/temp/lauser/DUMUX/dune-common/dune/common/parallel/remoteindices.hh:355:27: error: candidate is: Dune::RemoteIndices<T, A>::const_iterator Dune::RemoteIndices<T, A>::find(int) const

lauser at unni:~/DUMUX/dune-common|master > gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.5/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.5 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.5 --enable-linux-futex --without-system-libunwind --enable-gold --with-plugin-ld=/usr/bin/gold --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux) 


This happens for the trunk version (r6271) as well as for the 2.0 stable version. The attached patches fix the problem for both releases, but I haven't tested them on compilers other than GCC 4.5.0.

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=844

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