Created attachment 200493 [details] patch -Wno-c++11-narrowing is not supported by GCC. Set USE_CXXSTD=c++98 to build with both GCC and Clang. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
For me this fails on amd64 with: locationinfo.cpp:156:40: error: constant expression evaluates to 237 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0x6E, 0x49, 0x6E, 0x66, 0x6F, 0xED, 0x99, 0xBB, ^~~~
Created attachment 200709 [details] v2 Sorry, the patch I sent here was wrong (it wouldn't build even on powerpc64). I tested the right patch on amd64 but didn't sent it by mistake. Here's the right patch.
A commit references this bug: Author: linimon Date: Thu Jan 3 14:57:25 UTC 2019 New revision: 489181 URL: https://svnweb.freebsd.org/changeset/ports/489181 Log: -Wno-c++11-narrowing is not supported by GCC. Set USE_CXXSTD=c++98 to build with both GCC and Clang. PR: 234392 Submitted by: Piotr Kubaj Changes: head/devel/log4cxx/Makefile
A commit references this bug: Author: linimon Date: Thu Jan 3 15:01:04 UTC 2019 New revision: 489182 URL: https://svnweb.freebsd.org/changeset/ports/489182 Log: MFH: r489181 -Wno-c++11-narrowing is not supported by GCC. Set USE_CXXSTD=c++98 to build with both GCC and Clang. PR: 234392 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: _U branches/2019Q1/ branches/2019Q1/devel/log4cxx/Makefile