Prefix; darwin; ppc. dev-libs/jsoncpp-0.10.1 pulled in by dev-util/cmake-3.2.1 Produces this error: cd /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1_build/src/lib_json && /Volumes/GENTOO/usr/bin/powerpc-apple-darwin9-g++ -DJSON_DLL_BUILD -DNDEBUG -O2 -pipe-mcpu=G4 -mtune=G4 -Wall -Wextra -pedantic -Werror=strict-aliasing -I/Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/include -I/Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/src/lib_json/../../include -o CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o -c /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/src/lib_json/json_reader.cpp In file included from /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/include/json/assertions.h:13, from /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/src/lib_json/json_reader.cpp:7: /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/include/json/config.h:100: error: ISO C++ does not support ‘long long’ /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/include/json/config.h:101: error: ISO C++ does not support ‘long long’ In file included from /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/include/json/assertions.h:13, from /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/src/lib_json/json_reader.cpp:7: /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/include/json/config.h:100: error: ISO C++ does not support ‘long long’ /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/include/json/config.h:101: error: ISO C++ does not support ‘long long’ /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/src/lib_json/json_reader.cpp:1296: warning: unused parameter ‘tokenStart’ /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/src/lib_json/json_reader.cpp:1357: warning: unused parameter ‘tokenStart’ /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/src/lib_json/json_reader.cpp:1296: warning: unused parameter ‘tokenStart’ /Volumes/GENTOO/var/tmp/portage/dev-libs/jsoncpp-0.10.1/work/jsoncpp-0.10.1/src/lib_json/json_reader.cpp:1357: warning: unused parameter ‘tokenStart’ src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/build.make:54: recipe for target 'src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o' failed make[2]: *** [src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o] Error 1 Research shows this to be a function of the "-pedantic" flag. I created an overlay, thought that including the flag "-Wno-long-long" might be the solution? But not sure how to proceed, or where to include if so.... Thanks in advance for any suggestions.
FIXED/SOLVED added the CXXFLAG and it compiled with no problem. Apologies.