[Pkg-scicomp-devel] Bug#576799: --with-clanguage=C++ breaks C support.

Don Pellegrino don at drexel.edu
Wed May 5 21:11:31 UTC 2010


After upgrading to petsc-dev version 3.1 I now receive the following error
when trying to compile with a C compiler:

configure:3973: checking petscmat.h usability
configure:3973: gcc -c -g -O2 -I/usr/include/mpi -I/usr/include/ncbi
-I/usr/lib/petscdir/3.1/include -I/usr/include/libxml2 conftest.c >&5
In file included from /usr/lib/petscdir/3.1/include/petscis.h:7,
                 from /usr/lib/petscdir/3.1/include/petscvec.h:9,
                 from /usr/lib/petscdir/3.1/include/petscmat.h:6,
                 from conftest.c:57:
/usr/lib/petscdir/3.1/include/petscsys.h:22:2: error: #error "PETSc
configured with --with-clanguage=c++ and NOT --with-c-support - it can be
used only with a C++ compiler"

Could --with-c-support be used in conjunction with C++ compatibility to
address bug 576799 without breaking C support?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20100505/6215b466/attachment.htm>


More information about the Pkg-scicomp-devel mailing list