[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
Thu Dec 5 01:59:55 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):

 Adding the following the Portfile fixes the lrzsz build.

 {{{
 configure.cflags-append    -Wno-implicit-int
 }}}

 Here is a versions that checks that clang version:

 {{{
 if {[string match *clang* ${configure.cc}]} {
     set clang_version [exec ${configure.cc} --version | grep -o -E {clang
 version [0-9]+} | awk {{print $3}}]
     if {${clang_version} >= 16} {
         configure.cflags-append -Wno-implicit-int
     }
 }
 }}}

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


More information about the macports-tickets mailing list