| Thread Previous • Date Previous • Date Next • Thread Next |
I don't have any problems with -pedantic. I'm using mpich2 v. 1.0; gcc 3.3.5 (4.0 also works fine); and from the top of /usr/local/include/mpio.h /* -*- Mode: C; c-basic-offset:4 ; -*- */ /* * $Id: mpio.h.in,v 1.28 2004/10/07 17:59:38 gropp Exp $ * * Copyright (C) 1997 University of Chicago. * See COPYRIGHT notice in top-level directory. */ Can you compare? Which version of mpich are you using? Garth Quoting Anders Logg <logg@xxxxxxxxx>: > 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 > > _______________________________________________ > DOLFIN-dev mailing list > DOLFIN-dev@xxxxxxxxxx > http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev >
| Thread Previous • Date Previous • Date Next • Thread Next |