[MacPorts] #67455: ncarg @6.6.2: disables implicit declaration of function errors

MacPorts noreply at macports.org
Thu May 18 21:48:24 UTC 2023


#67455: ncarg @6.6.2: disables implicit declaration of function errors
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  tenomoto
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  ncarg
------------------------+----------------------
 Xcode 12 and later consider implicit declaration of functions to be an
 error.

 The ncarg portfile contains this line to disable that error:

 {{{
 configure.cflags-append     -Wno-error=implicit-function-declaration
 }}}

 See #61275 in which this line was added.

 This makes the software the port builds potentially incompatible with
 Apple Silicon processors.

 This line should be removed and the problem should be fixed correctly: by
 declaring functions before using them. See WimplicitFunctionDeclaration
 for much more information.

 The port maintainer need not be the one to do this. It is an upstream
 matter that should be resolved by the developers of ncarg. A good first
 step would be to report the problem to them and add the URL of the report
 to this ticket so we can keep an eye on it.

-- 
Ticket URL: <https://trac.macports.org/ticket/67455>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list