[MacPorts] #71091: libxmi @1.2: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] (was: cannot configure libxmi)

MacPorts noreply at macports.org
Mon Oct 14 13:25:02 UTC 2024


#71091: libxmi @1.2: error: type specifier missing, defaults to 'int'; ISO C99 and
later do not support implicit int [-Wimplicit-int]
------------------------------+------------------------------
  Reporter:  pelopor-pelopor  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.10.2
Resolution:                   |   Keywords:  sequoia haspatch
      Port:  libxmi           |
------------------------------+------------------------------
Changes (by ryandesign):

 * keywords:  haspatch => sequoia haspatch


Comment:

 The error in the config.log is:

 {{{
 configure:1070:1: error: type specifier missing, defaults to 'int'; ISO
 C99 and later do not support implicit int [-Wimplicit-int]
  1070 | main(){return(0);}
       | ^
       | int
 1 error generated.
 }}}

 This could be patched, like we do in many other ports, instead of using
 autoreconf. Does using autoreconf offer other advantages, beyond fixing
 this problem? Usually we try to avoid it unless patching is prohibitively
 difficult.

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


More information about the macports-tickets mailing list