[MacPorts] #37877: scantailor fails to build with clang-3.4 due to friend declaration bugs

MacPorts noreply at macports.org
Tue Nov 25 10:39:31 PST 2014


#37877: scantailor fails to build with clang-3.4 due to friend declaration bugs
-----------------------------------+-----------------------
  Reporter:  ryandesign@…          |      Owner:  raphael@…
      Type:  defect                |     Status:  new
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.1.2
Resolution:                        |   Keywords:
      Port:  scantailor clang-3.4  |
-----------------------------------+-----------------------

Comment (by Martin.vGagern@…):

 Upstream commit
 [https://github.com/scantailor/scantailor/commit/123a71afaf7d3bb6151cfa22b4a974e64a2f26d3
 123a71a] has a fix. The problem is the namespace: `Mat` is in the `mcalc`
 namespace while `MatrixCalc` is in the global namespace, so the friend
 declaration should go `::MatrixCalc`. I managed to successfully build the
 current upstream master
 ([https://github.com/scantailor/scantailor/tree/64757563cb3800ff42190a1000a0b1c876f99395
 6475756]) using Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM
 3.4svn).

-- 
Ticket URL: <https://trac.macports.org/ticket/37877#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list