050fe3e097
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
31 lines
1.6 KiB
C++
31 lines
1.6 KiB
C++
src/utils/lib/CryptoPP.h:3941:26: error: ISO C++11 does not allow access declarations; use using declarations instead
|
|
BufferedTransformation::Get;
|
|
^
|
|
|
|
--- src/utils/lib/CryptoPP.h.orig 2014-03-10 16:33:21 UTC
|
|
+++ src/utils/lib/CryptoPP.h
|
|
@@ -3938,15 +3938,15 @@ class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE Sink : public Bu
|
|
{
|
|
protected:
|
|
// make these functions protected to help prevent unintentional calls to them
|
|
- BufferedTransformation::Get;
|
|
- BufferedTransformation::Peek;
|
|
- BufferedTransformation::TransferTo;
|
|
- BufferedTransformation::CopyTo;
|
|
- BufferedTransformation::CopyRangeTo;
|
|
- BufferedTransformation::TransferMessagesTo;
|
|
- BufferedTransformation::CopyMessagesTo;
|
|
- BufferedTransformation::TransferAllTo;
|
|
- BufferedTransformation::CopyAllTo;
|
|
+ using BufferedTransformation::Get;
|
|
+ using BufferedTransformation::Peek;
|
|
+ using BufferedTransformation::TransferTo;
|
|
+ using BufferedTransformation::CopyTo;
|
|
+ using BufferedTransformation::CopyRangeTo;
|
|
+ using BufferedTransformation::TransferMessagesTo;
|
|
+ using BufferedTransformation::CopyMessagesTo;
|
|
+ using BufferedTransformation::TransferAllTo;
|
|
+ using BufferedTransformation::CopyAllTo;
|
|
unsigned int TransferTo2(BufferedTransformation& /* target */, unsigned long &transferBytes, const std::string& /* channel */ = NULL_CHANNEL, bool /* blocking */ = true)
|
|
{transferBytes = 0; return 0;}
|
|
unsigned int CopyRangeTo2(BufferedTransformation& /* target */, unsigned long& /* begin */, unsigned long /* end */ = ULONG_MAX, const std::string& /* channel */ = NULL_CHANNEL, bool /* blocking */ = true) const
|