Opened 4 years ago

Last modified 4 years ago

#61629 closed defect

umem: error: implicit declaration of function 'umem_startup' is invalid in C99 — at Version 1

Reported by: druidvav (Anton Vlasov) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur catalina Cc:
Port: umem

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

Looks like the package need a fix similar to #61464

:info:build malloc.c:462:2: error: implicit declaration of function 'umem_startup' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         umem_startup(NULL, 0, 0, NULL, NULL);
:info:build         ^
:info:build 1 error generated.

Change History (1)

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

Description: modified (diff)
Keywords: catalina added
Summary: umem fails to build with undefined symbolsumem: error: implicit declaration of function 'umem_startup' is invalid in C99

This has nothing to do with #61464. That was about undefined symbols, which is a consequence of a libtool bug that appears on macOS 11 and later. This, on the other hand, involves implicit declaration of functions, which is now an error in Xcode 12 and needs to be fixed by declaring the functions before using them.

Note: See TracTickets for help on using tickets.