Compile warnings (was Re: [ANNOUNCE] xorg-server 1.3.99.0)

Hanno Böck ml at hboeck.de
Wed Aug 1 12:46:22 PDT 2007


Hi,

Gentoo has some QA-checks for specific compile warnigns that can lead to wrong 
code. I think they should be fixable by some includes.


 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * ../hw/xfree86/os-support/shared/libc_wrapper.c:253: warning: implicit 
declaration of function 'strlcat'
../hw/xfree86/os-support/shared/libc_wrapper.c:259: warning: implicit 
declaration of function 'strlcpy'
../hw/xfree86/os-support/shared/libc_wrapper.c:377: warning: implicit 
declaration of function 'vsscanf'
../hw/xfree86/os-support/shared/libc_wrapper.c:769: warning: implicit 
declaration of function 'vfscanf'
../cfb/cfbpixmap.c:164: warning: implicit declaration of 
function 'mfbGetendtab'
../cfb/cfbpixmap.c:164: warning: implicit declaration of 
function 'mfbGetendtab'
../cfb/cfbcppl.c:390: warning: implicit declaration of 
function 'mfbGetpartmasks'
../cfb/cfbcppl.c:396: warning: implicit declaration of 
function 'mfbGetstarttab'
../cfb/cfbcppl.c:396: warning: implicit declaration of function 'mfbGetendtab'
helper_exec.c:219: warning: implicit declaration of function 'DEBUG_IO_TRACE'
./../shared/libc_wrapper.c:253: warning: implicit declaration of 
function 'strlcat'
./../shared/libc_wrapper.c:259: warning: implicit declaration of 
function 'strlcpy'
xaaInit.c:230: warning: implicit declaration of 
function 'miInitializeCompositeWrapper'


-- 
Hanno Böck		Blog:   http://www.hboeck.de/
GPG: 3DBD3B20		Jabber: hanno at hboeck.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.x.org/archives/xorg/attachments/20070801/d5959c92/attachment.pgp>


More information about the xorg mailing list