Re: [MacPorts] #57642: p5.26-http-xsheaders: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’

MacPorts noreply at macports.org
Fri Jan 11 03:01:17 UTC 2019


#57642: p5.26-http-xsheaders: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘void’
--------------------------------+----------------------
  Reporter:  ryandesign         |      Owner:  dbevans
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:  leopard
      Port:  p5-http-xsheaders  |
--------------------------------+----------------------

Comment (by kencu):

 changing the c standard to c99 instead of c89 fixed it as well, with
 FORTIFY_SOURCE=2, so that's the right fix. Also fixed the other one.

 Not too sure what's different about 10.6+ though, at the moment.

 Looks like patching Makefile.PL to force c99 is the way to go, I would
 say, unless someone sees a more elegant solution.

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


More information about the macports-tickets mailing list