Bug 56094

Summary: Doesn't build with gcc 3.1
Product: [Retired] Red Hat Raw Hide Reporter: Bernhard Rosenkraenzer <bero>
Component: partedAssignee: Matt Wilson <msw>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-16 17:01:32 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Bernhard Rosenkraenzer 2001-11-12 14:30:34 EST
i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include 
-I/usr/include/python2.2 -O2 -march=i386 -mcpu=i686 -D_REENTRANT 
-D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/share/locale\" 
-DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wno-unused -Wno-switch 
-Werror -c pydevice.c -MT pydevice.lo -MD -MP -MF .deps/pydevice.TPlo  
-fPIC -DPIC -o pydevice.o
cc1: warnings being treated as errors
pydevice.c:200: warning: missing initializer
pydevice.c:200: warning: (near initialization for 
pydevice.c:273: warning: missing initializer
pydevice.c:273: warning: (near initialization for 
make[2]: *** [pydevice.lo] Error 1
make[2]: Leaving directory 
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/parted-1.4.20-pre3'
make: *** [all] Error 2

With -Werror, uninitialized variables are errors...
Comment 1 Matt Wilson 2002-04-16 17:01:28 EDT
fixed in CVS