Re: GCC-4.0 warnings

2005-05-23 Thread Roland Illig
Pavel Roskin wrote: While the code is correct, it's not obvious for gcc. The "knee-jerk" reaction could be to initialize val in caller(), but sometimes it may be better to fix callee(), especially if it's used many times. Even more so if it's not documented that the pointer won't be initialized

Re: GCC-4.0 warnings

2005-05-22 Thread Pavel Roskin
Hello, Roland! On Wed, 2005-05-18 at 21:46 +0200, Roland Illig wrote: > Leonard den Ottolander wrote: > > Hi, > > > > Here's a list of gcc-4.0 warnings against HEAD from 2005-05-04. Tarball > > taken from the FC4t3 mc-4.6.1a-0.9.src.rpm. Removed all patches as no

GCC-4.0 warnings for PRE

2005-05-18 Thread Leonard den Ottolander
Hi, There are even more GCC-4.0 warnings for the PRE branch as of 2005-05-11. See attached list. Leonard. -- mount -t life -o ro /dev/dna /genetic/research fish.c:133: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result fish.c:188: warning: ignor

Re: GCC-4.0 warnings for PRE

2005-05-18 Thread Roland Illig
Leonard den Ottolander wrote: Hi, There are even more GCC-4.0 warnings for the PRE branch as of 2005-05-11. See attached list. Leonard. Thanks also for this list. Please regard each of these warnings as a bug report against mc. Fix them with care, that is: think about what a user might expect if

Re: GCC-4.0 warnings

2005-05-18 Thread Roland Illig
Leonard den Ottolander wrote: Hi, Here's a list of gcc-4.0 warnings against HEAD from 2005-05-04. Tarball taken from the FC4t3 mc-4.6.1a-0.9.src.rpm. Removed all patches as not to cause confusion between clean CVS and downstream patches. Grepped for "warning" in the build log. Than

GCC-4.0 warnings for PRE

2005-05-18 Thread Leonard den Ottolander
Hi, There are even more GCC-4.0 warnings for the PRE branch as of 2005-05-11. See attached list. Leonard. P.S. Sorry this is gzipped. Original message bounced as it was > 20K. -- mount -t life -o ro /dev/dna /genetic/research mc.warnings-PRE.txt.gz Description: GNU Zip compressed d

GCC-4.0 warnings

2005-05-18 Thread Leonard den Ottolander
Hi, Here's a list of gcc-4.0 warnings against HEAD from 2005-05-04. Tarball taken from the FC4t3 mc-4.6.1a-0.9.src.rpm. Removed all patches as not to cause confusion between clean CVS and downstream patches. Grepped for "warning" in the build log. Leonard. -- mount -t life