[MacPorts] #68659: mips-elf-gcc @3.4.6_0: fails to build due to implicit declaration of abort()

MacPorts noreply at macports.org
Tue May 28 09:17:43 UTC 2024


#68659: mips-elf-gcc @3.4.6_0: fails to build due to implicit declaration of
abort()
-------------------------+-------------------------------------------------
  Reporter:  nneonneo    |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  catalina bigsur monterey ventura
      Port:  mips-elf-   |  sonoma
  gcc                    |
-------------------------+-------------------------------------------------

Comment (by ryandesign):

 Replying to [comment:6 nneonneo]:
 > -Werror=implicit-function-declaration straight up breaks the build
 because some files just use functions without including the appropriate
 header file. (It’s very old C code).

 I am aware of that. The correct way to fix it is described in the
 WimplicitFunctionDeclaration wiki page.

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


More information about the macports-tickets mailing list