This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Strange error with current HEAD
On Fri, 9 Jan 2004, Richard Guenther wrote:
> Hi!
>
> I get a strange compile error with a Pooma application and current HEAD,
> it looks like
>
> /home/rguenth/ix86/pooma/tat-serial-gcc34/pooma/linux/src/Field/Relations/ZeroGradientFaceBC.h:
> In copy constructor `ZeroGradientFaceBC<Dim>::ZeroGradientFaceBC(const
> ZeroGradientFaceBC<Dim>&) [with int Dim = 3]':
> /home/rguenth/ix86/pooma/tat-serial-gcc34/pooma/linux/src/Field/Relations/ZeroGradientFaceBC.h:205:
> instantiated from `void Pooma::addZeroGradientFaceBC(const Target&, int)
> [with Target = Field<UniformRectilinearMesh<MeshTraits<3, double,
> UniformRectilinearTag, CartesianTag, 3> >, double, MultiPatch<GridTag, Remote<Brick> > >]'
> tramp3d.cpp:679: instantiated from here
> /home/rguenth/ix86/pooma/tat-serial-gcc34/pooma/linux/src/Field/Relations/ZeroGradientFaceBC.h:78:
> error: argument of type `int (ZeroGradientFaceBC<3>::)() const' does not
> match `int'
Testcase fell out of nowhere and this is now c++/13626, including a
testcase.
Richard.