[MacPorts] #70253: opendx port fails with implicit int error in C99

MacPorts noreply at macports.org
Wed Jun 19 13:16:54 UTC 2024


#70253: opendx port fails with implicit int error in C99
----------------------+--------------------
 Reporter:  bernstei  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:
----------------------+--------------------
 A bit similarly to ticket 69877 (grace), opendx is failing to compile
 because the latest compilers enforce C99 no implicit int arguments.
 Unfortunately, as is apparent from opendx ticket 61842, opendx upstream is
 entirely abandoned, so it isn't going to be fixed there, but it's very
 useful for us to be able to keep on using it via macports.  If I provide a
 patch to the opendx Portfile that turns this error into a warning, would
 someone be willing to incorporate it into macports?

 Errors in the log look like
 {{{
 :info:build streamline.c:1262:11: error: parameter 'nDim' was not
 declared, defaults to 'int'; ISO C99 and later do not support implicit int
 [-Wimplicit-int]
 :info:build NewStream(nDim)
 }}}

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


More information about the macports-tickets mailing list