[petsc-dev] meaning of PETSC_USE_EXTERN_CXX?

Jed Brown jedbrown at mcs.anl.gov
Wed Mar 6 07:45:51 CST 2013

On Wed, Mar 6, 2013 at 7:24 AM, Matthew Knepley <knepley at gmail.com> wrote:

> This is not about testing at all, its about using. You explicitly stick it
> in CFLAGS.

I wanted to keep the code that tested whether the compiler understands
__attribute__((visibility("default"))) and -fvisibility=hidden in
BuildSystem so that it could be reused from other projects.

The option should probably be split into --with-visibility which defaults
to true when available and --with-visibility-hidden which compiles with
-fvisibility=hidden and might only be used for our testing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130306/f150b9e4/attachment.html>

More information about the petsc-dev mailing list