[MacPorts] #61965: dap @3.7_0: implicit declaration of function 'dap_main' is invalid in C99

MacPorts noreply at macports.org
Sun Jan 3 07:27:25 UTC 2021


#61965: dap @3.7_0: implicit declaration of function 'dap_main' is invalid in C99
---------------------------+-----------------------------
  Reporter:  ShadSterling  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:  bigsur catalina
      Port:  dap           |
---------------------------+-----------------------------
Changes (by ryandesign):

 * keywords:  bigsur => bigsur catalina


Comment:

 Sure. This is the well-known implicit-function-declarations-are-now-an-
 error "feature" of Xcode 12.

 I've tried updating the port to 3.10 and it still has the problem.

 The INSTALL file even mentions it:

 > Note: when DAP_HOME/src/dap.c compiles, you will get a warning:
 >
 > {{{
 > implicit declaration of function `strcat'
 > }}}
 >
 > and when DAP_HOME/src/dap0.c compiles, you will get a warning:
 >
 > {{{
 > implicit declaration of function `dap_main'
 > }}}
 >
 > Ignore these warnings.

 Of course, we cannot ignore the warnings as suggested, since it is now and
 error and no longer a warning. dap appears to be unmaintained upstream so
 I'll see if I can fix it.

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


More information about the macports-tickets mailing list