[MacPorts] #64550: freeciv @2.6.6: at_quick_exit gives -Wimplicit-function-declaration warning, false positive

MacPorts noreply at macports.org
Fri Jan 28 16:35:39 UTC 2022


#64550: freeciv @2.6.6: at_quick_exit gives -Wimplicit-function-declaration
warning, false positive
----------------------+----------------------
  Reporter:  JDLH     |      Owner:  JDLH
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.1
Resolution:           |   Keywords:
      Port:  freeciv  |
----------------------+----------------------

Comment (by jmroot):

 Replying to [comment:1 JDLH]:
 > So, I think the immediate workaround for this problem is to add
 `at_quick_exit` to the list at <https://github.com/macports/macports-
 ports/blob/master/_resources/port1.0/checks/implicit_function_declaration/macosx10.14.sdk.list>.

 That's not a workaround, that's the fix. Without this outside information,
 it's impossible to know whether the error is due to a missing include or
 due to the system not implementing the function.

 > I also plan to file a bug upstream with FreeCiv developers, to see if
 they have a way to rewrite this configuration test so that it does not
 trigger a `-Wimplicit-function-declaration` warning from the compiler.

 Unlikely; that's just how autoconf works.

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


More information about the macports-tickets mailing list