Re: [petsc-dev] Problem with the reorganization of complex with clang

2021-05-16 Thread Lisandro Dalcin
This is a know issue with that old GCC v4.8. Perhaps we should add some code checking for the GCC version macros in the complex workaround implementation file to skip offending lines (or everything) ? On Sun, 16 May 2021 at 18:41, Junchao Zhang wrote: > I checked and found PetscComplex was cor

Re: [petsc-dev] Problem with the reorganization of complex with clang

2021-05-16 Thread Junchao Zhang
I checked and found PetscComplex was correctly defined to std::complex, and clang-6.0 was also fine to use GNU C++ library. The problem was the gcc-4.8.5 C++ library clang picked up was a bit old, which conformed to C++11. However clang-6.0's default uses C++14, which changed the rules of *constex