[MacPorts] #61656: db46 @4.6.21_10: error: implicit declaration of function 'getopt' is invalid in C99 (was: db46-4.6.21_10: build fails)

MacPorts noreply at macports.org
Thu Nov 26 07:24:04 UTC 2020


#61656: db46 @4.6.21_10: error: implicit declaration of function 'getopt' is
invalid in C99
-----------------------+-----------------------------
  Reporter:  teh-maxh  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.99
Resolution:            |   Keywords:  catalina bigsur
      Port:  db46      |
-----------------------+-----------------------------
Changes (by ryandesign):

 * keywords:   => catalina bigsur


Comment:

 It's the usual Xcode 12+ issue:

 {{{
 error: implicit declaration of function 'getopt' is invalid in C99
 }}}

 Do you really need db46 or could you use a newer db port, which might
 already contain a fix for this?

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


More information about the macports-tickets mailing list