g++ from gcc-12.2.0 not compliant with std=C++11 - ???
by JohnHendry from LinuxQuestions.org on (#6D9TG)
Trying to build pass 2 of gcc-12.2.0 but I can't get past libcody test in libcody configure which wants __cplusplus=201103 or whatever, not >. Seems a stupid test 12 years later and gcc claims to have been fully compliant with C++11 since gcc-5.
I don't know where __cplusplus is set or whether it changes when I put something like -std-gnu++2b in CXXFLAGS and I can't find the exact test used by libcody configure about lines 2490 to 2520 where C++11 is tested several times but in conftest.c wherever it is.
I don't know where __cplusplus is set or whether it changes when I put something like -std-gnu++2b in CXXFLAGS and I can't find the exact test used by libcody configure about lines 2490 to 2520 where C++11 is tested several times but in conftest.c wherever it is.