[MacPorts] #66235: xercesc3 @3.2.4 fails to build with gcc-4.2: error: 'nullptr' was not declared in this scope

MacPorts noreply at macports.org
Mon Nov 14 10:35:06 UTC 2022


#66235: xercesc3 @3.2.4 fails to build with gcc-4.2: error: 'nullptr' was not
declared in this scope
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  scantor
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.0
Resolution:                |   Keywords:  powerpc, leopard, snowleopard
      Port:  xercesc3      |
---------------------------+-------------------------------------------

Comment (by barracuda156):

 Replying to [comment:2 jmroot]:
 > `nullptr` is C++11, so setting `compiler.cxx_standard` is the
 appropriate fix.

 Thank you! Then I can make a PR.

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


More information about the macports-tickets mailing list