[petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

Jed Brown jed at jedbrown.org
Sat Feb 10 12:54:13 CST 2018


Éric Chamberland <Eric.Chamberland at giref.ulaval.ca> writes:

>>     WOW. You are lucky this worked for you. I don't think missing C++ compilers/linkers is ever safe?
> Honestly, I think yes it is safe under some constraints (not too 
> different compilers).

C++ compilers on a given platform usually specify binary compatibility.
That is certainly the case for g++, clang++, and Intel icpc on
Linux/Mac/BSD, and also for MSVC and Intel on Windows.  Fortran
compilers generally don't do this.


More information about the petsc-dev mailing list