[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:30:18 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 jmroot):

 `nullptr` is C++11, so setting `compiler.cxx_standard` is the appropriate
 fix.

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


More information about the macports-tickets mailing list