[MacPorts] #71419: Gyoto @1.4.4: gyoto.C: error: reference to 'data' is ambiguous

MacPorts noreply at macports.org
Fri Dec 13 05:47:42 UTC 2024


#71419: Gyoto @1.4.4: gyoto.C: error: reference to 'data' is ambiguous
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  paumard
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:
      Port:  Gyoto         |
---------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:4 paumard]:
 > Replying to [comment:3 barracuda156]:
 > > UPD. Disabling C++11 cannot possibly work, since both `xercesc3` and
 `eigen3` require it. So as is the build fails right-away. I will see if I
 can sort it out.
 >
 > Disabling C++11 would not be a great solution, Gyoto itself needs it to
 perform well and will soon make it a hard requirement.
 >
 > Do you mean that Gyoto still can't be built with gcc14? It's strange
 because it does build fine under Debian with GCC 14.2.0.
 >
 > Also, in this new release of Gyoto, the token 'data' has been replaced
 with '::data' throughout bin/gyoto.C, exactly to fix this issue.

 After my PR has been merged, it builds fine.

-- 
Ticket URL: <https://trac.macports.org/ticket/71419#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list