[MacPorts] #61111: stfl @ 0.24_2 : build failure: error: implicit declaration of function '...' is invalid in C99

MacPorts noreply at macports.org
Wed Sep 2 23:11:59 UTC 2020


#61111: stfl @ 0.24_2 : build failure: error: implicit declaration of function
'...' is invalid in C99
--------------------------+--------------------
  Reporter:  herbygillot  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.3
Resolution:               |   Keywords:
      Port:  stfl         |
--------------------------+--------------------

Comment (by ryandesign):

 Replying to [ticket:61111 herbygillot]:
 > Environment:

 This shows information about Xcode.

 > Build Results:
 > {{{
 > /usr/bin/clang -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
 x86_64 -I. -Wall -D_GNU_SOURCE -fPIC -pthread -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk  -c -o
 example.o example.c

 This shows that the build is using the command line tools, not Xcode. If
 you have the Xcode 12 beta command line tools, that explains the problem,
 since implicit function declarations became an error in Xcode 12. We
 should fix implicit function declarations (and report the fixes to the
 developers), but until we do, you can avoid the problem by downgrading to
 the Xcode 11 command line tools.

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


More information about the macports-tickets mailing list