dev-qt/qtcore-5.7.1-r3:5[icu] with GCC <6 fails to build with ICU >=59. Usage of C++ API of ICU >=59 requires usage of C++ >=2011. C++ 1998 is default in GCC <6. C++ 2014 is default in GCC 6 and 7. Build system adds -std=c++11 to CXXFLAGS, but too late, and this flag is not passed to compiler during checks of availability of various features and libraries in src_configure() phase. Ebuild should add -std=c++11 to CXXFLAGS. (dev-qt/qtcore-5.9.9999:5 is not affected.) checking for ICU... x86_64-pc-linux-gnu-g++ -c -march=native -O2 -fno-ident -frecord-gcc-switches -pipe -Wall -O2 -Wall -W -fPIC -I. -I/var/tmp/portage/dev-qt/qtcore-5.7.1-r3/work/qtbase-opensource-src-5.7.1/mkspecs/linux-g++ -o icu.o icu.cpp In file included from /usr/include/unicode/utypes.h:38:0, from icu.cpp:40: /usr/include/unicode/umachine.h:347:13: error: ‘char16_t’ does not name a type typedef char16_t UChar; ^ In file included from /usr/include/unicode/utypes.h:39:0, from icu.cpp:40: /usr/include/unicode/uversion.h:167:55: error: ‘UChar’ does not name a type u_versionFromUString(UVersionInfo versionArray, const UChar *versionString); ^ ...
Created attachment 472904 [details] qtcore-5.7.1-r3.log
*** Bug 618848 has been marked as a duplicate of this bug. ***
Similar issue affects dev-qt/qtcore-4.8.x except on all compilers.
Additionally also affects qtwebkit identically as respective qt versions.
*** Bug 649470 has been marked as a duplicate of this bug. ***
*** Bug 649584 has been marked as a duplicate of this bug. ***
qt-5.7 is no longer in ::gentoo tree.