[MacPorts] #61842: opendx @4.4.4_10: y.tab.c:1107:16: error: implicit declaration of function '_dxfcclex' is invalid in C99 [-Werror, -Wimplicit-function-declaration]

MacPorts noreply at macports.org
Thu Dec 17 14:39:52 UTC 2020


#61842: opendx @4.4.4_10: y.tab.c:1107:16: error: implicit declaration of function
'_dxfcclex' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
----------------------+-----------------------------
  Reporter:  abitees  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.6.4
Resolution:           |   Keywords:  catalina bigsur
      Port:  opendx   |
----------------------+-----------------------------

Comment (by ryandesign):

 That fixes the first error, but there are more:

 {{{
 y.tab.c:1107:16: error: implicit declaration of function '_dxfcclex' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
 }}}
 {{{
 ./_compparse.y:432:47: error: implicit declaration of function
 '_dxfcclexerror' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
 }}}

 These are more complicated because they occur in files that were generated
 by bison so I'm not sure where the problem is supposed to be fixed. It's
 the same problem we had in another port (#61032) and the fix employed
 there (turning the error back into a warning) is not what we want to do.
 We should find the correct way to fix it (the correct place to include the
 right header) and apply that fix both here and in that other port.

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


More information about the macports-tickets mailing list