[MacPorts] #68277: dosbox-staging @0.80.1: error: call to undeclared function 'select'; ISO C99 and later do not support implicit function declarations (was: dosbox-staging port build fails on MacOSX 14 Sonoma)

MacPorts noreply at macports.org
Fri Sep 29 08:37:56 UTC 2023


#68277: dosbox-staging @0.80.1: error: call to undeclared function 'select'; ISO
C99 and later do not support implicit function declarations
-----------------------------+----------------------
  Reporter:  thaewrapt       |      Owner:  kakuhen
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:  sonoma
      Port:  dosbox-staging  |
-----------------------------+----------------------
Changes (by ryandesign):

 * keywords:   => sonoma


Comment:

 And see WimplicitFunctionDeclaration but it's curious because usually
 those issues affect all systems with Xcode 12 or later (Catalina and
 later) yet we have successful builds of this port on the build system on
 all systems up to Ventura. (We haven't started building for Sonoma yet.)
 Maybe sys/select.h got included by some other header on Xcode 14 and
 earlier and this has changed in Xcode 15.

 When you report this problem to the developers, you might also mention
 some of this software's other problems, such as `a function declaration
 without a prototype is deprecated in all versions of C`.

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


More information about the macports-tickets mailing list