[petsc-dev] meaning of PETSC_USE_EXTERN_CXX?

Jed Brown jedbrown at mcs.anl.gov
Tue Mar 5 18:43:54 CST 2013

On Tue, Mar 5, 2013 at 6:39 PM, Matthew Knepley <knepley at gmail.com> wrote:

> We just take the PETSC_USE_EXTERN_CXX branch everywhere so that if
>> defined(__cplusplus), we always use extern "C" (independent of how PETSc
>> was configured). This also gets rid of PETSC_EXTERN_C and PETSC_INTERN_C,
>> leaving only PETSC_EXTERN and PETSC_INTERN.
> Is this doable if we still want to support C++ complex?

Yes, exactly as it does now --with-clanguage=C++ --with-c-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130305/46364144/attachment.html>

More information about the petsc-dev mailing list