Closed erzyadev closed 7 months ago
thanks for the report; it should be possible to bootstrap the compiler with a conforming C++11 compiler - so I think we need to figure this out (I did not yet have a chance to try to repeat the issue)
this is now GCC BZ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113763 so closing here.
I believe I'm using apple clang with libc++ as stage 1 bootstrap, and receive the following compilation error here
Apparently, std::pair's ctor became constexpr only in C++14. However, libstdc++ backported it to C++11 while libc++ followed the standards (https://godbolt.org/z/1fq4chW88).
Manual replacing "g++ -std=c++11" with "g++ -std=c++14" in the Makefile worked for me as a temporary solution.