Bug 172055 - libXfont from modular X has a very large number of compiler warnings
libXfont from modular X has a very large number of compiler warnings
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: libXfont (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: X/OpenGL Maintenance List
David Lawrence
:
Depends On:
Blocks: FC6Target
  Show dependency treegraph
 
Reported: 2005-10-29 20:17 EDT by Mike A. Harris
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-06-05 23:33:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mike A. Harris 2005-10-29 20:17:22 EDT
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-05 23:33:49 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.