Opened 4 years ago

Closed 4 years ago

#61278 closed defect (fixed)

convertlit @1.8: error: implicit declaration of function 'LZXinit' is invalid in C99

Reported by: rlhamil Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: convertlit

Description

errors:

:info:build litsections.c:332:14: error: implicit declaration of function 'LZXinit' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build litsections.c:402:17: error: implicit declaration of function 'LZXreset' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build litsections.c:403:26: error: implicit declaration of function 'LZXdecompress' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build litsections.c:422:9: error: implicit declaration of function 'LZXreset' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build litsections.c:423:18: error: implicit declaration of function 'LZXdecompress' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

Attachments (1)

main.log_convertlit.txt (45.5 KB) - added by rlhamil 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by rlhamil

Attachment: main.log_convertlit.txt added

comment:1 Changed 4 years ago by kencu (Ken)

Summary: convertlit build fails on Catalinaconvertlit build fails with Xcode12: error: implicit declaration of function 'LZXinit' is invalid in C99

comment:2 Changed 4 years ago by rlhamil

also

:info:build newlzx/lzxglue.c:61:5: error: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Werror,-Wimplicit-function-declaration]

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

Owner: set to ryandesign
Status: newaccepted
Summary: convertlit build fails with Xcode12: error: implicit declaration of function 'LZXinit' is invalid in C99convertlit @1.8: error: implicit declaration of function 'LZXinit' is invalid in C99

Implicit declaration of functions is a new error in Xcode 12. We should fix it, but until then you can work around it by downgrading to Xcode 11 and the Xcode 11 version of the command line tools.

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

In 61344f51139982bcc031ea12e27dea57a003dc31/macports-ports (master):

convertlit: Fix some implicit function declarations

See: #61278

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

Resolution: fixed
Status: acceptedclosed

In a7ecd9167f7a3a26aa3fd7f4916df66db6e043bd/macports-ports (master):

convertlit: Fix remaining implicit functions

Closes: #61278

Note: See TracTickets for help on using tickets.