[petsc-dev] Compiling C code with C compiler

Sean Farley sean at mcs.anl.gov
Mon Apr 4 21:18:38 CDT 2011


>
> But why would I do that? The whole point of  invoking 'clang++' is to to
> compile the
>  code as 'C++' - not as 'C'


Why not try to compile C code with a C compiler and C++ code with a C++
compiler? (Perhaps I missed a previous discussion?) Dmitry brought up an
interesting question of which I don't know the answer off the top of my
head.

Dmitry, is there a small code example that shows this?

Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110404/76240012/attachment.html>


More information about the petsc-dev mailing list