Bug 10600 - xorg-server-1.1.1 compile warnings
Summary: xorg-server-1.1.1 compile warnings
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.1 (2006.05)
Hardware: Other All
: medium enhancement
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 12:32 UTC by Pacho Ramos
Modified: 2010-05-27 08:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pacho Ramos 2007-04-10 12:32:34 UTC
Gentoo portage can report warnings that exhibit random runtime failures, when I compile xorg-server I get:

access.c:1399: warning: implicit declaration of function '_XSERVTransGetPeerAddr'
access.c:1471: warning: implicit declaration of function '_XSERVTransIsLocal'
access.c:1481: warning: implicit declaration of function '_XSERVTransGetConnectionNumber'
io.c:378: warning: implicit declaration of function '_XSERVTransRead'
io.c:977: warning: implicit declaration of function '_XSERVTransDisconnect'
io.c:978: warning: implicit declaration of function '_XSERVTransClose'
io.c:1129: warning: implicit declaration of function '_XSERVTransWritev'
xdmauth.c:281: warning: implicit declaration of function '_XSERVTransGetPeerAddr'
xdmauth.c:283: warning: implicit declaration of function '_XSERVTransConvertAddress'
utils.c:949: warning: implicit declaration of function '_XSERVTransNoListen'
../hw/xfree86/os-support/shared/libc_wrapper.c:264: warning: implicit declaration of function 'strlcat'
../hw/xfree86/os-support/shared/libc_wrapper.c:270: warning: implicit declaration of function 'strlcpy'
../hw/xfree86/os-support/shared/libc_wrapper.c:388: warning: implicit declaration of function 'vsscanf'
../hw/xfree86/os-support/shared/libc_wrapper.c:780: warning: implicit declaration of function 'vfscanf'
../cfb/cfbpixmap.c:170: warning: implicit declaration of function 'mfbGetendtab'
../cfb/cfbtegblt.c:195: warning: implicit declaration of function 'ldl_u'
../cfb/cfbpolypnt.c:140: warning: implicit declaration of function 'ffs'
../cfb/cfbpixmap.c:170: warning: implicit declaration of function 'mfbGetendtab'
../cfb/cfbfillsp.c:562: warning: implicit declaration of function 'ldl_u'
../cfb/cfbtegblt.c:195: warning: implicit declaration of function 'ldl_u'
../cfb/cfbpolypnt.c:140: warning: implicit declaration of function 'ffs'
../cfb/cfbcppl.c:393: warning: implicit declaration of function 'mfbGetpartmasks'
../cfb/cfbcppl.c:399: warning: implicit declaration of function 'mfbGetstarttab'
../cfb/cfbcppl.c:399: warning: implicit declaration of function 'mfbGetendtab'
../cfb/cfbpixmap.c:170: warning: implicit declaration of function 'mfbGetendtab'
../cfb/cfbfillsp.c:562: warning: implicit declaration of function 'ldl_u'
../cfb/cfbtegblt.c:195: warning: implicit declaration of function 'ldl_u'
../cfb/cfbpolypnt.c:140: warning: implicit declaration of function 'ffs'
../cfb/cfbcppl.c:393: warning: implicit declaration of function 'mfbGetpartmasks'
../cfb/cfbcppl.c:399: warning: implicit declaration of function 'mfbGetstarttab'
../cfb/cfbcppl.c:399: warning: implicit declaration of function 'mfbGetendtab'
xf86Events.c:1291: warning: implicit declaration of function 'backtrace'
xf86Events.c:1292: warning: implicit declaration of function 'backtrace_symbols'
./../shared/libc_wrapper.c:264: warning: implicit declaration of function 'strlcat'
./../shared/libc_wrapper.c:270: warning: implicit declaration of function 'strlcpy'
./../shared/libc_wrapper.c:388: warning: implicit declaration of function 'vsscanf'
./../shared/libc_wrapper.c:780: warning: implicit declaration of function 'vfscanf'
../../../../hw/xfree86/os-support/shared/libc_wrapper.c:264: warning: implicit declaration of function 'strlcat'
../../../../hw/xfree86/os-support/shared/libc_wrapper.c:270: warning: implicit declaration of function 'strlcpy'
../../../../hw/xfree86/os-support/shared/libc_wrapper.c:388: warning: implicit declaration of function 'vsscanf'
../../../../hw/xfree86/os-support/shared/libc_wrapper.c:780: warning: implicit declaration of function 'vfscanf'


Thanks a lot
Comment 1 walch.martin 2009-02-16 11:14:13 UTC
This has changed a bit, and now for xorg-server-1.5.3 it says


QA Notice: Package has poor programming practices which may compile fine but exhibit random runtime failures.
window.c:1496: warning: implicit declaration of function 'miPaintWindow'
../cfb/cfbpixmap.c:167: warning: implicit declaration of function 'mfbGetendtab'
../cfb/cfbpixmap.c:167: warning: implicit declaration of function 'mfbGetendtab'
../cfb/cfbcppl.c:388: warning: implicit declaration of function 'mfbGetpartmasks'
../cfb/cfbcppl.c:394: warning: implicit declaration of function 'mfbGetstarttab'
../cfb/cfbcppl.c:394: warning: implicit declaration of function 'mfbGetendtab'
glthread.c:84: warning: implicit declaration of function 'perror'
xf86Xinput.c:165: warning: implicit declaration of function 'AssignTypeAndName'
xf86Xinput.c:174: warning: implicit declaration of function 'XkbSetExtension'
xalloc.c:108: warning: implicit declaration of function 'strlcpy'
xaaInit.c:198: warning: implicit declaration of function 'miInitializeCompositeWrapper'

Please do not file a Gentoo bug and instead report the above QA issues directly to the upstream developers of this software.
Comment 2 walch.martin 2010-05-27 08:12:01 UTC
With xorg-server 1.8.1 the QA Notice has disappeared. Setting to RESOLVED/FIXED


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.