Created attachment 195045 [details] Fix for compiler errors in CryptoPP.h Port fails to build with clang on RELENG-11.2 (i386) (patch attached): In file included from src/utils/lib/CryptoPP.cc:85: src/utils/lib/CryptoPP.h:3941:26: error: ISO C++11 does not allow access declarations; use using declarations instead BufferedTransformation::Get; ^ using src/utils/lib/CryptoPP.h:3942:26: error: ISO C++11 does not allow access declarations; use using declarations instead BufferedTransformation::Peek; ^ using src/utils/lib/CryptoPP.h:3943:26: error: ISO C++11 does not allow access declarations; use using declarations instead BufferedTransformation::TransferTo; ^ using src/utils/lib/CryptoPP.h:3944:26: error: ISO C++11 does not allow access declarations; use using declarations instead BufferedTransformation::CopyTo; ^ using src/utils/lib/CryptoPP.h:3945:26: error: ISO C++11 does not allow access declarations; use using declarations instead BufferedTransformation::CopyRangeTo; ^ using src/utils/lib/CryptoPP.h:3946:26: error: ISO C++11 does not allow access declarations; use using declarations instead BufferedTransformation::TransferMessagesTo; ^ using src/utils/lib/CryptoPP.h:3947:26: error: ISO C++11 does not allow access declarations; use using declarations instead BufferedTransformation::CopyMessagesTo; ^ using src/utils/lib/CryptoPP.h:3948:26: error: ISO C++11 does not allow access declarations; use using declarations instead BufferedTransformation::TransferAllTo; ^ using src/utils/lib/CryptoPP.h:3949:26: error: ISO C++11 does not allow access declarations; use using declarations instead BufferedTransformation::CopyAllTo; ^ using
Confirmation: I did get these build errors and patch does fix it
A commit references this bug: Author: tobik Date: Sun Aug 26 07:15:38 UTC 2018 New revision: 478102 URL: https://svnweb.freebsd.org/changeset/ports/478102 Log: net-p2p/mldonkey*: Fix build with Clang 6 src/utils/lib/CryptoPP.h:3941:26: error: ISO C++11 does not allow access declarations; use using declarations instead BufferedTransformation::Get; ^ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/mldonkey-3.1.5_2.log http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/mldonkey-core-3.1.5_2.log http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/mldonkey-gui-3.1.5_2.log PR: 229691 Submitted by: mickey242@gmx.net Changes: head/net-p2p/mldonkey/files/patch-src_utils_lib_CryptoPP.h