Skip to content

#886 dune-common: compilation fails in remoteindices.hh

Metadata

Property Value
Reported by Bernd Flemisch (bernd@iws.uni-stuttgart.de)
Reported at Feb 28, 2011 15:36
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Markus Blatt (markus@dr-blatt.de)
Last edited at Mar 1, 2011 10:06
Closed by Markus Blatt (markus@dr-blatt.de)
Closed at Mar 1, 2011 10:06
Closed in version Unknown
Resolution Fixed
Comment Was already fixed in the trunk with r6359.
Merged the patch to the release with r6368

Description

With gcc >=4.5.0 and MPI enabled, compilation of remoteindices.hh gives

/temp/bernd/DUMUX21/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/bernd/DUMUX21/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

A patch, against the 2.1 branch revision 6361, solving the issue is attached.

It would be great if you could fix the 2.1 release.

Thank you. Kind regards Bernd

Attachments