[MacPorts] #61729: a2ps 4.14: won't build due to -Wimplicit-function-declaration: rpl_malloc, rpl_realloc, exit

MacPorts noreply at macports.org
Wed Dec 2 22:29:32 UTC 2020


#61729: a2ps 4.14: won't build due to -Wimplicit-function-declaration: rpl_malloc,
rpl_realloc, exit
-------------------------+--------------------
 Reporter:  borwickatuw  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  a2ps
-------------------------+--------------------
 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]
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61729>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list