[petsc-dev] errors galore related to Barry's change to PetscError

Brad Aagaard baagaard at usgs.gov
Sat May 8 14:18:58 CDT 2010


Jed-

One error is still left (PetscErrorCodeCxx).

libfast in: 
/home/buildbot/slave/build/x86_linux_single_nosched_gcc-4.1_gfortran-4.1_python-2.5_openmpi/PETSc/dev/default-975/src/sys/error
err.c: In function 'void PetscErrorCxx(ompi_communicator_t*, int, const 
char*, const char*, const char*, PetscErrorCode, int)':
err.c:559: error: invalid conversion from 'int' to 'ompi_communicator_t*'
err.c:559: error: invalid conversion from 'const char*' to 'int'
err.c:559: error: invalid conversion from 'PetscErrorCode' to 'const char*'
err.c:559: error: invalid conversion from 'void*' to 'int'
/home/buildbot/slave/build/x86_linux_single_nosched_gcc-4.1_gfortran-4.1_python-2.5_openmpi/PETSc/dev/default-975/include/petscerror.h:505: 
error: too few arguments to function 'void 
PetscTraceBackErrorHandlerCxx(ompi_communicator_t*, int, const char*, 
const char*, const char*, PetscErrorCode, int, std::ostringstream&)'
err.c:559: error: at this point in file
fp.c:15:1: error: unterminated #ifndef
/home/buildbot/bin/ar: err.o: No such file or directory

http://www.geodynamics.org:8009/?project=PETSc

Thanks,
Brad


Jed Brown wrote:
> On Sat, 08 May 2010 11:34:54 -0700, Brad Aagaard <baagaard at usgs.gov> wrote:
>> Barry-
>>
>> When you changed the interface to PetscError etc to add the 
>> communicator, is something related to building with C++ missing. We get 
>> tons of errors associated with this change when building with C++.
> 
> Pushed a fix: eb546a46d3f7
> 
> Jed
> 




More information about the petsc-dev mailing list