[MacPorts] #57957: p5.26-encode @2.990.0 +universal: error: static declaration of 'S_is_utf8_overlong_given_start_byte_ok' follows non-static declaration

MacPorts noreply at macports.org
Tue Jan 29 07:20:20 UTC 2019


#57957: p5.26-encode @2.990.0 +universal: error: static declaration of
'S_is_utf8_overlong_given_start_byte_ok' follows non-static declaration
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  p5-encode   |
-------------------------+--------------------

Comment (by kencu):

 OK. It's an `i386` thing only. This fails:
 {{{
 sudo port -v build p5.26-encode supported_archs="i386"
 }}}
 whereas the `x86_64` build succeeds on the same system.

 Forcing the build to use `-std=c99` does not fix it. To do that, you edit
 `Makefile.PL` and add:
 {{{
     $ccflags .= ' -std=c99';
 }}}

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


More information about the macports-tickets mailing list