dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #02216
Re: Parameter.h
That works. I did that but wasn't sure if it had any consequences.
The only remaining problem I have that I haven't figured out yet is in
PArray.h. The error messages are below.
I picked up a whole bunch of other small errors, but it might take me a
few days to get them all checked in.
Garth
./../../src/kernel/common/dolfin/PArray.h(445): error: overloaded
function "dolfin::PArray<T>::Iterator::Iterator" is not a type name
template <class T> typename PArray<T>::Iterator::Iterator&
^
../../../src/kernel/common/dolfin/PArray.h(446): error: declaration is
incompatible with "dolfin::PArray<T>::Iterator
&dolfin::PArray<T>::Iterator::operator++()" (declared at line 147)
PArray<T>::Iterator::operator++()
^
../../../src/kernel/common/dolfin/PArray.h(460): error: overloaded
function "dolfin::PArray<T>::Iterator::Iterator" is not a type name
template <class T> typename PArray<T>::Iterator::Iterator&
^
../../../src/kernel/common/dolfin/PArray.h(461): error: declaration is
incompatible with "dolfin::PArray<T>::Iterator
&dolfin::PArray<T>::Iterator::operator--()" (declared at line 149)
PArray<T>::Iterator::operator--()
^
On Fri, 2006-03-24 at 11:03 -0600, Anders Logg wrote:
> Does it work if you remove the dolfin:: in Parameter.h? I don't know
> why it's there. I just pushed a changeset where this is removed. Check
> if that works.
>
> /Anders
>
> On Fri, Mar 24, 2006 at 05:58:18PM +0100, Garth N. Wells wrote:
> > Any ideas what's wrong here in Parameter.h? I'm testing the Intel C++
> > compiler.
> >
> > Garth
> >
> > ../../../src/kernel/parameter/dolfin/Parameter.h(89): error: no instance
> > of overloaded function "dolfin::operator<<" matches the specified type
> > friend LogStream& dolfin::operator<<(LogStream& stream, const
> > Parameter& parameter);
> >
> >
> >
> >
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> >
Follow ups
References