[MacPorts] #62373: rx @1.5: error: implicitly declaring library function 'malloc'

MacPorts noreply at macports.org
Mon Mar 1 01:47:10 UTC 2021


#62373: rx @1.5: error: implicitly declaring library function 'malloc'
-----------------------------+--------------------
 Reporter:  cooljeanius      |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.6.4
 Keywords:  bigsur catalina  |       Port:  rx
-----------------------------+--------------------
 Another victim of `-Werror=implicit-function-declaration` being on by
 default now:
 {{{
 rxnode.c:43:18: error: implicitly declaring library function 'malloc' with
 type 'void *(unsigned long)' [-Werror,-Wimplicit-function-declaration]
   tmp = (char *) malloc (INITSIZE);
                  ^
 rxnode.c:43:18: note: include the header <stdlib.h> or explicitly provide
 a declaration for 'malloc'
 }}}
 (there are a bunch of these so I'll attach them as a separate logfile
 instead of pasting them all here)

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


More information about the macports-tickets mailing list