Bug 229691 - net-p2p/mldonkey-core: does not build with clang on FreeBSD 11.2
Summary: net-p2p/mldonkey-core: does not build with clang on FreeBSD 11.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-11 08:17 UTC by mickey242
Modified: 2018-08-26 07:16 UTC (History)
1 user (show)

See Also:


Attachments
Fix for compiler errors in CryptoPP.h (1.38 KB, patch)
2018-07-11 08:17 UTC, mickey242
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mickey242 2018-07-11 08:17:21 UTC
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
Comment 1 Nathan 2018-08-26 03:02:13 UTC
Confirmation: I did get these build errors and patch does fix it
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-08-26 07:16:34 UTC
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