Opened 4 years ago

Closed 4 years ago

#61876 closed defect (fixed)

libicns: error: implicit declaration of function 'unlink' is invalid in C99

Reported by: SpikeLightfoot Owned by: dardo82 (Michele Venturi)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur catalina Cc:
Port: libicns

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (3)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.7.0
Owner: set to dardo82
Port: libicns added
Status: newassigned

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: bigsur catalina added
Summary: libicns fails build in MacOS 11.1libicns: error: implicit declaration of function 'unlink' is invalid in C99

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

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 227b1ebc657fb496aad668e1763cc11f7d87735e/macports-ports (master):

libicns: Fix implicit declaration of functions

Closes: #61876

Note: See TracTickets for help on using tickets.