[MacPorts] #63846: apache2 @2.4.52: error: implicit declaration of function 'ERR_GET_FUNC' is invalid in C99

MacPorts noreply at macports.org
Mon Nov 8 16:11:13 UTC 2021


#63846: apache2 @2.4.52: error: implicit declaration of function 'ERR_GET_FUNC' is
invalid in C99
--------------------------------+------------------------
  Reporter:  josephsacco        |      Owner:  ryandesign
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.7.1
Resolution:                     |   Keywords:  monterey
      Port:  apache2, openssl3  |
--------------------------------+------------------------

Comment (by mascguy):

 Replying to [comment:16 ryandesign]:
 > Implicit declaration of function is an error in Xcode 12 or later, which
 is used by macOS 11 and later builders. macOS 10.15 and earlier builders
 use earlier Xcode versions in which implicit declaration of function is
 only a warning.

 That's understood. What I failed to originally consider though, is the
 dynamic, pluggable nature of Apache. (And runtime linking, vs. static.)

 Regardless, we need to step back, and consider where implicit function
 declarations are truly errors across-the-board. This is certainly one
 great example, and there are undoubtedly others.

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


More information about the macports-tickets mailing list