[MacPorts] #61876: libicns: error: implicit declaration of function 'unlink' is invalid in C99 (was: libicns fails build in MacOS 11.1)

MacPorts noreply at macports.org
Sun Dec 20 03:19:19 UTC 2020


#61876: libicns: error: implicit declaration of function 'unlink' is invalid in C99
-----------------------------+-----------------------------
  Reporter:  SpikeLightfoot  |      Owner:  dardo82
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.4
Resolution:                  |   Keywords:  bigsur catalina
      Port:  libicns         |
-----------------------------+-----------------------------
Changes (by ryandesign):

 * keywords:   => bigsur catalina


Old description:

> ...
> :info:build png2icns.c:328:4: error: implicit declaration of function
> 'unlink' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
> ...

New description:

 {{{
 ...
 :info:build png2icns.c:328:4: error: implicit declaration of function
 'unlink' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 ...
 }}}

--

Comment:

 The usual Xcode 12 issue. I'll take a look.

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


More information about the macports-tickets mailing list