Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61729 closed defect (fixed)

a2ps 4.14: won't build due to -Wimplicit-function-declaration: rpl_malloc, rpl_realloc, exit

Reported by: borwickatuw (John Borwick) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: bigsur catalina Cc:
Port: a2ps

Description

Here's the errors from the build log:

:info:build fonts.c:2002:18: error: implicit declaration of function 'rpl_malloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build fonts.c:2014:18: error: implicit declaration of function 'rpl_realloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build argmatch.c:69:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
:info:build lexppd.c:2203:18: error: implicit declaration of function 'rpl_malloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build lexppd.c:2215:18: error: implicit declaration of function 'rpl_realloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

Change History (3)

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

Keywords: bigsur catalina added
Owner: set to ryandesign
Status: newaccepted

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

Resolution: fixed
Status: acceptedclosed

In 96a2a9021cfeb38f5b7abff54fc5d599ec8ce214/macports-ports (master):

a2ps: Fix implicit declaration of functions

Closes: #61729

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

Reported to the developers here: https://savannah.gnu.org/support/index.php?110413

Note: See TracTickets for help on using tickets.