> I would start with Dave's fix, and then see if we can improve it
> somehow. Presumably this is talking about Manuel's work, at least
> in part?
In part. Actually, the new warnings are all over the place.
I've attached a summary from:
http://sunsite.mff.cuni.cz/rawhide20071220-gcc43/Werror/
Please go ahead and improve this wording and substance. I've checked in
a revised copy to wwwdocs.
-best,
benjamin
anaconda-11.4.0.11-1.log:isys.c:522: error: 'i' may be used uninitialized in
this function
anaconda-11.4.0.11-1.log:error: Bad exit status from /var/tmp/rpm-tmp.84415
(%build)
dhcp-3.1.0-12.fc9.log:dst_support.c:162: error: cast from pointer to integer of
different size
dhcp-3.1.0-12.fc9.log:error: Bad exit status from /var/tmp/rpm-tmp.81355
(%build)
elfutils-0.131-1.fc9.log:common.h:116: error: 'libelf_acquire_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:135: error: 'libelf_release_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:116: error: 'libelf_acquire_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:135: error: 'libelf_release_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:116: error: 'libelf_acquire_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:135: error: 'libelf_release_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:116: error: 'libelf_acquire_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:135: error: 'libelf_release_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:116: error: 'libelf_acquire_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:135: error: 'libelf_release_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:116: error: 'libelf_acquire_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:135: error: 'libelf_release_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:116: error: 'libelf_acquire_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:135: error: 'libelf_release_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:116: error: 'libelf_acquire_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:135: error: 'libelf_release_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:116: error: 'libelf_acquire_all' defined but
not used
elfutils-0.131-1.fc9.log:common.h:135: error: 'libelf_release_all' defined but
not used
elfutils-0.131-1.fc9.log:error: Bad exit status from /var/tmp/rpm-tmp.74639
(%build)
evolution-exchange-2.21.4-1.fc9.log:e-book-backend-gal.c:2468: error:
dereferencing type-punned pointer will break strict-aliasing rules
evolution-exchange-2.21.4-1.fc9.log:e-book-backend-gal.c:2477: error:
dereferencing type-punned pointer will break strict-aliasing rules
evolution-exchange-2.21.4-1.fc9.log:e-book-backend-gal.c:2487: error:
dereferencing type-punned pointer will break strict-aliasing rules
evolution-exchange-2.21.4-1.fc9.log:e-book-backend-gal.c:2497: error:
dereferencing type-punned pointer will break strict-aliasing rules
evolution-exchange-2.21.4-1.fc9.log:e-book-backend-gal.c:2659: error:
dereferencing type-punned pointer will break strict-aliasing rules
evolution-exchange-2.21.4-1.fc9.log:e-book-backend-gal.c:2665: error:
dereferencing type-punned pointer will break strict-aliasing rules
evolution-exchange-2.21.4-1.fc9.log:error: Bad exit status from
/var/tmp/rpm-tmp.39841 (%build)
gdb-6.7.1-6.fc9.log:../../gdb/symtab.c:2274: error: 'exact' may be used
uninitialized in this function
gdb-6.7.1-6.fc9.log:../../gdb/remote.c:1687: error: 'done' may be used
uninitialized in this function
gdb-6.7.1-6.fc9.log:error: Bad exit status from /var/tmp/rpm-tmp.38201 (%build)
grub-0.97-19.log:main.c:143: error: the address of 'config_file' will always
evaluate as 'true'
grub-0.97-19.log:error: Bad exit status from /var/tmp/rpm-tmp.69254 (%build)
libcmpiutil-0.1-6.fc9.log:std_association.c:326: error: the address of 's' will
always evaluate as 'true'
libcmpiutil-0.1-6.fc9.log:error: Bad exit status from /var/tmp/rpm-tmp.58272
(%build)
libflaim-4.9.989-18.fc9.log:src/kybuild.cpp:537: error: suggest parentheses
around && within ||
libflaim-4.9.989-18.fc9.log:error: Bad exit status from /var/tmp/rpm-tmp.767
(%build)
libpfm-3.2-0.071017.1.fc9.log:pfmlib_pentium4.c:368: error: array subscript is
above array bounds
libpfm-3.2-0.071017.1.fc9.log:pfmlib_pentium4.c:370: error: array subscript is
above array bounds
libpfm-3.2-0.071017.1.fc9.log:error: Bad exit status from
/var/tmp/rpm-tmp.27896 (%build)
linphone-1.7.1-4.fc8.log:alsa.c:56: error: the address of 'hwparams' will
always evaluate as 'true'
linphone-1.7.1-4.fc8.log:alsa.c:129: error: the address of 'swparams' will
always evaluate as 'true'
linphone-1.7.1-4.fc8.log:error: Bad exit status from /var/tmp/rpm-tmp.73293
(%build)
mkinitrd-6.0.24-1.fc9.log:procdev.h:60: error: inline function
'getDevsFromProc' declared but never defined
mkinitrd-6.0.24-1.fc9.log:error: Bad exit status from /var/tmp/rpm-tmp.76796
(%build)
nc-1.84-14.fc9.log:netcat.c:791: error: the address of 'obuf' will always
evaluate as 'true'
nc-1.84-14.fc9.log:error: Bad exit status from /var/tmp/rpm-tmp.34150 (%build)
NetworkManager-0.7.0-0.8.svn3181.fc9.log:nm-utils.c:128: error: dereferencing
type-punned pointer will break strict-aliasing rules
NetworkManager-0.7.0-0.8.svn3181.fc9.log:nm-utils.c:152: error: dereferencing
type-punned pointer will break strict-aliasing rules
NetworkManager-0.7.0-0.8.svn3181.fc9.log:error: Bad exit status from
/var/tmp/rpm-tmp.15894 (%build)
openhpi-2.10.1-1.fc9.log:safhpi.c:556: error: array subscript is above array
bounds
openhpi-2.10.1-1.fc9.log:error: Bad exit status from /var/tmp/rpm-tmp.62135
(%build)
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:94: error: inline
function 'ped_div_round_to_nearest' declared but never defined
parted-1.8.6-13.fc9.log:../../include/parted/natmath.h:91: error: inline
function 'ped_div_round_up' declared but never defined
parted-1.8.6-13.fc9.log:error: Bad exit status from /var/tmp/rpm-tmp.71616
(%build)
trousers-0.3.1-5.fc9.log:tspi_nv.c:220: error: cast from pointer to integer of
different size
trousers-0.3.1-5.fc9.log:error: Bad exit status from /var/tmp/rpm-tmp.74684
(%build)
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsCharTraits.h:308:
error: conversion to 'PRUnichar' from 'int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsCharTraits.h:563:
error: conversion to 'char' from 'int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentSubstring.h:74:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentSubstring.h:77:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentSubstring.h:74:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentSubstring.h:77:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTString.h:454:
error: conversion to 'PRUint32' from 'size_t' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTString.h:454:
error: conversion to 'PRUint32' from 'size_t' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:76:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:89:
error: conversion to 'PRUint32' from 'size_t' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:117:
error: conversion to 'PRUint32' from 'size_t' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:124:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:76:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:89:
error: conversion to 'PRUint32' from 'size_t' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:117:
error: conversion to 'PRUint32' from 'size_t' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:124:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:nsCookie.h:126: error: conversion to
'PRPackedBool' from 'PRBool' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsCharTraits.h:656:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsCharTraits.h:308:
error: conversion to 'PRUnichar' from 'int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsCharTraits.h:563:
error: conversion to 'char' from 'int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentSubstring.h:74:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentSubstring.h:77:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentSubstring.h:74:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentSubstring.h:77:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTString.h:454:
error: conversion to 'PRUint32' from 'size_t' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTString.h:454:
error: conversion to 'PRUint32' from 'size_t' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:76:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:89:
error: conversion to 'PRUint32' from 'size_t' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:117:
error: conversion to 'PRUint32' from 'size_t' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:124:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:76:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:89:
error: conversion to 'PRUint32' from 'size_t' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:117:
error: conversion to 'PRUint32' from 'size_t' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/string/nsTDependentString.h:124:
error: conversion to 'PRUint32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:nsCookie.h:126: error: conversion to
'PRPackedBool' from 'PRBool' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:../../../dist/include/xpcom/nsVoidArray.h:409:
error: conversion to 'PRBool' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:nsCookieService.cpp:403: error: conversion to
'PROffset32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:nsCookieService.cpp:403: error: conversion to
'PROffset32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:nsCookieService.cpp:403: error: conversion to
'PROffset32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:nsCookieService.cpp:403: error: conversion to
'PROffset32' from 'long int' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:nsCookieService.cpp:774: error: conversion to
'PRUint8' from 'PRInt32' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:nsCookieService.cpp:777: error: conversion to
'PRUint16' from 'PRInt32' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:nsCookieService.cpp:780: error: conversion to
'PRUint16' from 'PRInt32' may alter its value
xulrunner-1.9-0.beta2.1.fc9.log:nsCookieService.cpp:1050: error: suggest
parentheses around && within ||
xulrunner-1.9-0.beta2.1.fc9.log:error: Bad exit status from
/var/tmp/rpm-tmp.23252 (%build)