[MacPorts] #70755: lrzsz @0.12.20_4: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int

MacPorts noreply at macports.org
Wed Dec 4 22:29:19 UTC 2024


#70755: lrzsz @0.12.20_4: error: type specifier missing, defaults to 'int'; ISO C99
and later do not support implicit int
------------------------+---------------------
  Reporter:  gounselor  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.10.1
Resolution:             |   Keywords:  sequoia
      Port:  lrzsz      |
------------------------+---------------------

Comment (by jptrainor):

 This works if executed in the port's lrzsz src directory (i.e. the result
 of the initial failed "prot install lrzsz":

 {{{
 % CFLAGS="-Wno-implicit-int" ./configure CFLAGS="-Wno-implicit-int"
 --program-transform-name=s/l//  --disable-nls
 --mandir=/opt/local/share/man
 % make
 }}}

 "-Wno-implicit-int" is the same option that homebrew is using.

 The src/lsz executable is produced and runs.

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


More information about the macports-tickets mailing list