Hi,

On Mon, Oct 27, 2014 at 04:28:42PM +0100, Etienne Ahusborde wrote:
> /home/eahusbor/DUMUX_2.6/dune-common-2.3.0/dune/common/parallel/indicessyncer.hh:
> In member function ‘void
> Dune::IndicesSyncer<T>::calculateMessageSizes()’:
> /home/eahusbor/DUMUX_2.6/dune-common-2.3.0/dune/common/parallel/indicessyncer.hh:664:72:
> error: wrong number of template arguments (1, should be 5)
>      CollectiveIterator collIter = remoteIndices_.template
> iterator<true>();
> ^
> In file included from /usr/include/c++/4.8/bits/stl_algobase.h:65:0,
>                  from /usr/include/c++/4.8/bits/char_traits.h:39,
>                  from /usr/include/c++/4.8/ios:40,
>                  from /usr/include/c++/4.8/ostream:38,
>                  from /usr/include/c++/4.8/iostream:39,
>                  from 
> /home/eahusbor/DUMUX_2.6/dune-common-2.3.0/dune/common/parametertree.hh:11,
>                  from 
> /home/eahusbor/DUMUX_2.6/dumux-2.6.0/dumux/common/basicproperties.hh:29,
>                  from 
> /home/eahusbor/DUMUX_2.6/dumux-2.6.0/dumux/modelcoupling/common/simplecoupledproblem.hh:26,
>                  from simple1p1ptestproblem.hh:28,
>                  from Durlofsky.cc:25:
> /usr/include/c++/4.8/bits/stl_iterator_base_types.h:118:12: error:
> provided for ‘template<class _Category, class _Tp, class _Distance,
> class _Pointer, class _Reference> struct std::iterator’
>      struct iterator
> 

This pretty much looks like a compiler bug to me. It is assuming that
despite the template keyword iterator is not a function but a
class (std::iterator). Unfortunately, a class that take quite a few more 
template
parameters.

This can only happen if you have a "using namespace std" somewhere in
your codebase. Please strip this and it might work.

Markus

-- 
Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany,  USt-Id: DE279960836
Tel.: +49 (0) 160 97590858

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to