[erlang-bugs] Implicit declaration

Christian Faulhammer <>
Tue Jan 15 10:04:17 CET 2008


Hi,

Erlang has a lot of compiler warnings when compiled from source.  These
should be fixed (mostly this can be done by include statements of the
needed header file), as they can have impact on hardened systems.

* QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * rx.c:43: warning: implicit declaration of function `malloc'
rx.c:65: warning: implicit declaration of function `free'
rxanal.c:54: warning: implicit declaration of function `malloc'
rxanal.c:56: warning: implicit declaration of function `realloc'
rxanal.c:344: warning: implicit declaration of function
`rx_refresh_this_superst
ate'
rxbasic.c:87: warning: implicit declaration of function `malloc'
rxbasic.c:115: warning: implicit declaration of function `free'
rxbitset.c:105: warning: implicit declaration of function `rx_bzero'
rxcset.c:40: warning: implicit declaration of function `malloc'
rxcset.c:77: warning: implicit declaration of function `free'
rxdbug.c:64: warning: implicit declaration of function `isprint'
rxgnucomp.c:53: warning: implicit declaration of function `rx_bzero'
rxgnucomp.c:630: warning: implicit declaration of function `malloc'
rxgnucomp.c:962: warning: implicit declaration of function `strncmp'
rxgnucomp.c:965: warning: implicit declaration of function `sscanf'
rxgnucomp.c:999: warning: implicit declaration of function `strcmp'
rxgnucomp.c:1026: warning: implicit declaration of function `isalnum'
rxgnucomp.c:1027: warning: implicit declaration of function `isalpha'
rxgnucomp.c:1029: warning: implicit declaration of function `iscntrl'
rxgnucomp.c:1030: warning: implicit declaration of function `isdigit'
rxgnucomp.c:1031: warning: implicit declaration of function `isgraph'
rxgnucomp.c:1032: warning: implicit declaration of function `islower'
rxgnucomp.c:1033: warning: implicit declaration of function `isprint'
rxgnucomp.c:1034: warning: implicit declaration of function `ispunct'
rxgnucomp.c:1035: warning: implicit declaration of function `isspace'
rxgnucomp.c:1036: warning: implicit declaration of function `isupper'
rxgnucomp.c:1037: warning: implicit declaration of function `isxdigit'
rxgnucomp.c:1175: warning: implicit declaration of function `realloc'
rxgnucomp.c:1648: warning: implicit declaration of function `free'
rxhash.c:39: warning: implicit declaration of function `malloc'
rxhash.c:75: warning: implicit declaration of function `free'
rxhash.c:252: warning: implicit declaration of function `rx_bzero'
rxnfa.c:46: warning: implicit declaration of function `malloc'
rxnfa.c:49: warning: implicit declaration of function `rx_bzero'
rxnfa.c:65: warning: implicit declaration of function `free'
rxnode.c:43: warning: implicit declaration of function `malloc'
rxnode.c:64: warning: implicit declaration of function `free'
rxnode.c:86: warning: implicit declaration of function `realloc'
rxnode.c:125: warning: implicit declaration of function `memcpy'
rxnode.c:145: warning: implicit declaration of function `memcmp'
rxnode.c:195: warning: implicit declaration of function `rx_bzero'
rxposix.c:66: warning: implicit declaration of function `rx_bzero'
rxposix.c:77: warning: implicit declaration of function `malloc'
rxposix.c:83: warning: implicit declaration of function `isupper'
rxposix.c:83: warning: implicit declaration of function `tolower'
rxposix.c:147: warning: implicit declaration of function `strlen'
rxposix.c:178: warning: implicit declaration of function `strncpy'
rxposix.c:182: warning: implicit declaration of function `strcpy'
rxposix.c:431: warning: implicit declaration of function `free'
rxsimp.c:81: warning: implicit declaration of function `isdigit'
rxspencer.c:64: warning: implicit declaration of function `malloc'
rxspencer.c:67: warning: implicit declaration of function `rx_bzero'
rxspencer.c:145: warning: implicit declaration of function `free'
rxstr.c:84: warning: implicit declaration of function `strncasecmp'
rxstr.c:88: warning: implicit declaration of function `strncmp'
rxsuper.c:141: warning: implicit declaration of function `malloc'
rxsuper.c:159: warning: implicit declaration of function `free'
rxsuper.c:715: warning: implicit declaration of function `rx_bzero'
rxunfa.c:67: warning: implicit declaration of function `malloc'
rxunfa.c:106: warning: implicit declaration of function `free'
rx.c:43: warning: implicit declaration of function `malloc'
rx.c:65: warning: implicit declaration of function `free'
rxanal.c:54: warning: implicit declaration of function `malloc'
rxanal.c:56: warning: implicit declaration of function `realloc'
rxanal.c:344: warning: implicit declaration of function
`rx_refresh_this_superst
ate'
rxbasic.c:87: warning: implicit declaration of function `malloc'
rxbasic.c:115: warning: implicit declaration of function `free'
rxbitset.c:105: warning: implicit declaration of function `rx_bzero'
rxcset.c:40: warning: implicit declaration of function `malloc'
rxcset.c:77: warning: implicit declaration of function `free'
rxdbug.c:64: warning: implicit declaration of function `isprint'
rxgnucomp.c:53: warning: implicit declaration of function `rx_bzero'
rxgnucomp.c:630: warning: implicit declaration of function `malloc'
rxgnucomp.c:962: warning: implicit declaration of function `strncmp'
rxgnucomp.c:965: warning: implicit declaration of function `sscanf'
rxgnucomp.c:999: warning: implicit declaration of function `strcmp'
rxgnucomp.c:1026: warning: implicit declaration of function `isalnum'
rxgnucomp.c:1027: warning: implicit declaration of function `isalpha'
rxgnucomp.c:1029: warning: implicit declaration of function `iscntrl'
rxgnucomp.c:1030: warning: implicit declaration of function `isdigit'
rxgnucomp.c:1031: warning: implicit declaration of function `isgraph'
rxgnucomp.c:1032: warning: implicit declaration of function `islower'
rxgnucomp.c:1033: warning: implicit declaration of function `isprint'
rxgnucomp.c:1034: warning: implicit declaration of function `ispunct'
rxgnucomp.c:1035: warning: implicit declaration of function `isspace'
rxgnucomp.c:1036: warning: implicit declaration of function `isupper'
rxgnucomp.c:1037: warning: implicit declaration of function `isxdigit'
rxgnucomp.c:1175: warning: implicit declaration of function `realloc'
rxgnucomp.c:1648: warning: implicit declaration of function `free'
rxhash.c:39: warning: implicit declaration of function `malloc'
rxhash.c:75: warning: implicit declaration of function `free'
rxhash.c:252: warning: implicit declaration of function `rx_bzero'
rxnfa.c:46: warning: implicit declaration of function `malloc'
rxnfa.c:49: warning: implicit declaration of function `rx_bzero'
rxnfa.c:65: warning: implicit declaration of function `free'
rxnode.c:43: warning: implicit declaration of function `malloc'
rxnode.c:64: warning: implicit declaration of function `free'
rxnode.c:86: warning: implicit declaration of function `realloc'
rxnode.c:125: warning: implicit declaration of function `memcpy'
rxnode.c:145: warning: implicit declaration of function `memcmp'
rxnode.c:195: warning: implicit declaration of function `rx_bzero'
rxposix.c:66: warning: implicit declaration of function `rx_bzero'
rxposix.c:77: warning: implicit declaration of function `malloc'
rxposix.c:83: warning: implicit declaration of function `isupper'
rxposix.c:83: warning: implicit declaration of function `tolower'
rxposix.c:147: warning: implicit declaration of function `strlen'
rxposix.c:178: warning: implicit declaration of function `strncpy'
rxposix.c:182: warning: implicit declaration of function `strcpy'
rxposix.c:431: warning: implicit declaration of function `free'
rxsimp.c:81: warning: implicit declaration of function `isdigit'
rxspencer.c:64: warning: implicit declaration of function `malloc'
rxspencer.c:67: warning: implicit declaration of function `rx_bzero'
rxspencer.c:145: warning: implicit declaration of function `free'
rxstr.c:84: warning: implicit declaration of function `strncasecmp'
rxstr.c:88: warning: implicit declaration of function `strncmp'
rxsuper.c:141: warning: implicit declaration of function `malloc'
rxsuper.c:159: warning: implicit declaration of function `free'
rxsuper.c:715: warning: implicit declaration of function `rx_bzero'
rxunfa.c:67: warning: implicit declaration of function `malloc'
rxunfa.c:106: warning: implicit declaration of function `free'


V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20080115/357caf56/attachment.bin>


More information about the erlang-bugs mailing list