Opened 4 years ago

Closed 4 years ago

#61890 closed defect (fixed)

tclx @8.4.1_0 - Build failure - panic implicit declaration causes error

Reported by: lmhaffner Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: tclx

Description

tclx fails to build on macOS 11.x and XCode 12.3 with the new "implicit declaration" warning being elevated to a compiler error.

Example line from the log (attached):

./generic/tclXfcntl.c:214:9: error: implicit declaration of function 'panic' is invalid in C99 [-Werror,-Wimplicit-funct
ion-declaration]
     panic ("bug in fcntl get attrib");

Attachments (1)

main.log (160.9 KB) - added by lmhaffner 4 years ago.
Build log

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by lmhaffner

Attachment: main.log added

Build log

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

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 9b5cd63de5c20c951691ca836efa70e42e109223/macports-ports (master):

tclx: fix implicit function declarations

See: macports/macports-base@74b3130
Closes: #61890

Note: See TracTickets for help on using tickets.