[MacPorts] #61207: clisp @2.49: error: implicit declaration of function 'strverscmp' is invalid in C99

MacPorts noreply at macports.org
Wed Sep 23 09:11:45 UTC 2020


#61207: clisp @2.49: error: implicit declaration of function 'strverscmp' is
invalid in C99
------------------------+--------------------
  Reporter:  wlharvey4  |      Owner:  easye
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:  fixed      |   Keywords:
      Port:  clisp      |
------------------------+--------------------

Comment (by chrstphrchvz):

 It builds for me with Xcode 12 command line tools.

 I notice that the build output used to contain:
 {{{
 checking whether strverscmp is declared without a macro... no
 …
            -e 's|@''GNULIB_STRVERSCMP''@|0|g' \
 …
            -e 's|@''HAVE_STRVERSCMP''@|1|g' \
 }}}

 but now instead contains:
 {{{
 checking whether strverscmp is declared without a macro... no
 …
 checking for strverscmp... no
 …
            -e 's|@''GNULIB_STRVERSCMP''@|1|g' \
 …
            -e 's|@''HAVE_STRVERSCMP''@|0|g' \
 }}}

 So it looks like it previously wasn't getting `strverscmp()` from the
 correct place.

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


More information about the macports-tickets mailing list