Opened 4 years ago

Last modified 4 years ago

#61876 closed defect

libicns: error: implicit declaration of function 'unlink' is invalid in C99 — at Version 2

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 (2)

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.

Note: See TracTickets for help on using tickets.