[MacPorts] #61273: tktable: implicit declaration of function 'panic' is invalid in C99 (was: Quartz variant of Tktable fails to install)

MacPorts noreply at macports.org
Tue Oct 6 06:14:17 UTC 2020


#61273: tktable: implicit declaration of function 'panic' is invalid in C99
------------------------------+--------------------
  Reporter:  S0methingWicked  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  tktable          |
------------------------------+--------------------

Comment (by ryandesign):

 The log says:

 {{{
 :info:build ./generic/tkTableUtil.c:108:2: error: implicit declaration of
 function 'panic' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
 :info:build         panic("invalid type given to TableOptionBdSet\n");
 :info:build         ^
 }}}

 Implicit function declarations are an error now, as of Xcode 12. Before,
 they were just warnings. We should fix this, but until we do, you can work
 around it by downgrading to Xcode 11.7 and the Xcode 11.5 version of the
 command line tools.

 The problem is probably not specific to the quartz variant, but you're
 noticing it there because when using a non-default variant you have to
 build from source. When using default variants, you get a binary from our
 server, which was built with Xcode 11.

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


More information about the macports-tickets mailing list