[MacPorts] #55186: ipv6calc @1.0.0: error: unused variable 'optopt' [-Werror, -Wunused-variable] (was: ipv6calc fails to upgrade/install)

MacPorts noreply at macports.org
Sat Oct 28 12:51:32 UTC 2017


#55186: ipv6calc @1.0.0: error: unused variable 'optopt' [-Werror,-Wunused-
variable]
-----------------------+------------------------
  Reporter:  iEFdev    |      Owner:  ryandesign
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  ipv6calc  |
-----------------------+------------------------
Changes (by ryandesign):

 * owner:   => ryandesign
 * status:  new => accepted


Comment:

 Hmm, it doesn't do that for me, but I'm on Sierra with Xcode 9.0.1 and
 you're on Lion. Curiously, our buildbot successfully built this port on
 every OS from Leopard to High Sierra inclusive, except for Lion. Its older
 clang must be pickier about this or have some bug. Usually we don't want
 to turn compiler warnings into errors, so I'll fix this port to no longer
 do that.

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


More information about the macports-tickets mailing list