Bug 56094 - Doesn't build with gcc 3.1
Summary: Doesn't build with gcc 3.1
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: parted
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matt Wilson
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-12 19:30 UTC by Bernhard Rosenkraenzer
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-04-16 21:01:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Bernhard Rosenkraenzer 2001-11-12 19:30:34 UTC
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 
`PyPedDeviceType.tp_cache')
pydevice.c:273: warning: missing initializer
pydevice.c:273: warning: (near initialization for 
`PyPedDeviceConstructorType.tp_cache')
make[2]: *** [pydevice.lo] Error 1
make[2]: Leaving directory 
`/usr/src/redhat/BUILD/parted-1.4.20-pre3/python'
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 21:01:28 UTC
fixed in CVS



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