[MacPorts] #67290: fnc @0.15: error: declaration does not declare anything

MacPorts noreply at macports.org
Sat Apr 22 21:03:42 UTC 2023


#67290: fnc @0.15: error: declaration does not declare anything
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  mcjsk
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:
      Port:  fnc         |
-------------------------+----------------------

Comment (by ryandesign):

 The "declaration does not declare anything" error is probably something to
 report to the developer of fnc. I don't know if it's critical to fix,
 since it would originally have only been a warning, but this project
 promotes warnings to errors by using `-Werror`. That's hardcoded into
 `FNC_CFLAGS` in the fnc.bld.mk file. While it's not unreasonable for a
 developer to want to use `-Werror` themselves, usually we don't want to
 use it in MacPorts since we build on a wide range of OS and compiler
 versions, so it would be appropriate for us to add a patch to remove this
 flag.

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


More information about the macports-tickets mailing list