dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #06749
Re: [HG DOLFIN] LA:
On Wed, Mar 19, 2008 at 12:12:40PM +0000, Garth N. Wells wrote:
> Anders Logg wrote:
> > On Tue, Mar 18, 2008 at 02:15:11PM +0100, Ilmar Wilbers wrote:
> >> DOLFIN wrote:
> >>> One or more new changesets pushed to the primary dolfin repository.
> >>> A short summary of the last three changesets is included below.
> >>>
> >>> changeset: 3725:5169346ab742e9d73ad7d911ace561d9ee8b8a18
> >>> tag: tip
> >>> user: "Johan Jansson <jjan@xxxxxxxxxx>"
> >>> date: Mon Mar 17 22:37:55 2008 +0100
> >>> files: dolfin/la/PETScVector.cpp dolfin/la/PETScVector.h
> >>> description:
> >>> LA:
> >>>
> >>> Removed unused (anyone?) createScatterer(), scatter(), gather(),
> >>> toArray(), fromArray() from PETSCVector.
> >>>
> >>>
> >>>
> >> After this commit I get the following warning when building (no error):
> >> dolfin/la/PETScMatrix.h:42: Warning(401): Base class 'PETScObject'
> >> undefined.
> >> dolfin/la/PETScObject.h:19: Warning(401): 'PETScObject' must be defined
> >> before it is used as a base class.
> >> dolfin/la/PETScVector.h:37: Warning(401): Base class 'PETScObject'
> >> undefined.
> >> dolfin/la/PETScObject.h:19: Warning(401): 'PETScObject' must be defined
> >> before it is used as a base class.
> >>
> >> Can this just be ignored?
> >
> > No, this shouldn't happen.
> >
> > I compile with -Wall -Werror etc and don't see this. Is it still there?
> >
>
> I did 'scons -c' and enabled PETSc, and now I'm seeing this error.
>
> Garth
ok, same here now after scons -c.
Very strange. The file PETScObject.h is included in those files so I
can't figure out why the compiler is complaining.
--
Anders
References