Bug 172055

Summary: libXfont from modular X has a very large number of compiler warnings
Product: [Fedora] Fedora Reporter: Mike A. Harris <mharris>
Component: libXfontAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED UPSTREAM QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: gajownik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-06-06 03:33:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150223    

Description Mike A. Harris 2005-10-30 00:17:22 UTC
Many of these are likely harmless or trivial in nature, however some
of them are potentially serious SEGV material, so all of them should
be investigated and fixed for X11R7.



bitscale.c:1843: warning: 'isStringProp' may be used uninitialized in this function
file.c:69: warning: unused variable 'left'
file.c:124: warning: suggest parentheses around assignment used as truth value
fonts.c:2401: warning: missing braces around initializer
fonts.c:2401: warning: (near initialization for 'builtin_files[0]')
fonts.c:2410: warning: missing braces around initializer
fonts.c:2410: warning: (near initialization for 'builtin_dir[0]')
fonts.c:2428: warning: missing braces around initializer
fonts.c:2428: warning: (near initialization for 'builtin_alias[0]')
fpe.c:51: warning: implicit declaration of function 'BuiltinReadDirectory'
fpe.c:51: warning: nested extern declaration of 'BuiltinReadDirectory'
fpe.c:80: warning: no previous prototype for 'BuiltinRegisterFpeFunctions'
fpe.c:81: warning: implicit declaration of function
'BuiltinRegisterFontFileFunctions'
fpe.c:81: warning: nested extern declaration of 'BuiltinRegisterFontFileFunctions'
render.c:35: warning: return type defaults to 'int'
render.c:64: warning: implicit declaration of function 'CheckFSFormat'
render.c:64: warning: nested extern declaration of 'CheckFSFormat'
render.c:71: warning: implicit declaration of function 'pcfReadFont'
render.c:71: warning: nested extern declaration of 'pcfReadFont'
render.c:45: warning: unused variable 'i'
render.c:82: warning: return type defaults to 'int'
render.c:95: warning: implicit declaration of function 'pcfReadFontInfo'
render.c:95: warning: nested extern declaration of 'pcfReadFontInfo'
render.c:90: warning: unused variable 'renderer'
render.c:88: warning: unused variable 'i'
render.c:101: warning: missing braces around initializer
render.c:101: warning: (near initialization for 'renderers[0]')
render.c:109: warning: no previous prototype for 'BuiltinRegisterFontFileFunctions'
fserve.c:2782: warning: 'ret' may be used uninitialized in this function
paths.c:1039: warning: 'mypoint.x' is used uninitialized in this function
paths.c:1040: warning: 'mypoint.y' is used uninitialized in this function
t1info.c:1057: warning: 'sDescent' may be used uninitialized in this function
t1info.c:1057: warning: 'sAscent' may be used uninitialized in this function

Comment 3 Mike A. Harris 2006-06-06 03:33:49 UTC
Mostly trivial stuff not worth tracking.  The best way for handling these
types of issues is to organize a community project upstream to get the
whole tree of Xorg building warning-free on Linux and possibly on BSD and/or
Solaris in the future.