← Back to team overview

dolfin team mailing list archive

Re: CXXFLAGS

 

On Fri, Sep 09, 2005 at 05:34:21PM +0200, Garth N. Wells wrote:

> In configure.ac there is a comment that the flag -pedantic should be
> used, but it breaks when including mpio.h, which isn't included
> anymore.

I tried removing it, but it's still there, through a chain of PETSc
includes:

In file included from /usr/include/mpi/mpi.h:1085,
                 from /usr/local/lib/petsc/include/petsc.h:85,
                 from /usr/local/lib/petsc/include/petscis.h:7,
                 from /usr/local/lib/petsc/include/petscvec.h:9,
                 from /usr/local/lib/petsc/include/petscmat.h:6,
                 from ../../../src/kernel/la/dolfin/Matrix.h:12,
                 from MatlabFile.cpp:12:
/usr/include/mpi/mpio.h:34: error: ISO C++ stödjer inte "long long"

Looks like we can't use -pedantic if not mpio.h is changed (which is
not likely).

/Anders



Follow ups

References