[petsc-dev] meaning of PETSC_USE_EXTERN_CXX?

Jed Brown jedbrown at mcs.anl.gov
Tue Mar 5 18:19:42 CST 2013


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

> Matt, what is this about?
>>
>
> I think this is Satish (blame gets confused by the move).
>

https://bitbucket.org/petsc/petsc-dev/commits/31d7f3bac39971d5406309dcc1cc1df33996fbe9


> Don't we wrap the entire interface in EXTERN_C
> so that C++ people who include the header do not mangle PETSc functions?
>

I was asking about the second block. I don't understand why we would ever
want the C header to be broken when include from C++.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130305/dbee33a6/attachment.html>


More information about the petsc-dev mailing list