Created attachment 186463 [details] Correct invalid implicit type conversions Upstream ticket https://issues.apache.org/jira/browse/SANTUARIO-471 (merged) Attached patch to correct C++11 build failure.
Anything blocking applying this patch, or anything more I can do to help?
How do I test building with c++11?
Set this in security/apache-xml-security-c/Makefile: USES= compiler:c++11-lang gmake libtool tar:bzip2 ssl USE_CXXSTD= c++11 It's not provided in this current patch because switching to the C++11 ABI would require all reverse dependencies to be rebuilt; I was going to propose a switchover once the C++11 support was present in all packages blocking #221890 https://github.com/rleigh-codelibre/freebsd-ports/commit/71eb1781a917f552ed1a1e5a06a3d2f9041a908a
I can't make it fail. There was s patch to fix some clang problems, perhaps that fixed enough for c++11? revision r459469 ?
I don't see how that revision could affect outright illegal type conversions in C++11 code. Last time I tested, this was strictly required. Was the compiler definitely passing -std=c++11 when you tested? I'll retry with the current ports anyway to confirm.
I've tested with C++11 and C++14 and the current port is now building OK, thanks. This bug can be closed.