[petsc-dev] C++11, compatibility versus simplicity

Jed Brown jedbrown at mcs.anl.gov
Tue Oct 8 16:36:22 CDT 2013


Satish Balay <balay at mcs.anl.gov> writes:
> configure appears to test for <random> and this is failing on OSX with
> clang-3.2. Is this supporsed to work?
>
> balay at petsc-mini petsc.test (next)]$ clang++ -v
> Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
> Target: x86_64-apple-darwin12.4.0
> Thread model: posix

Looks like this old version doesn't support -std=c++11 or -std=c++0x, so
you may need to upgrade Clang to use Elemental.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131008/a220b144/attachment.sig>


More information about the petsc-dev mailing list