tools/widl/typegen.c pointer initialization
dsh at linux.ucla.edu
Mon Oct 29 21:42:09 CDT 2007
On Sun, Oct 28, 2007 at 07:07:15PM -0700, Dan Kegel wrote:
> To get uninitialized warnings, you have to also specify
> optimization (-O2). Without -O, gcc doesn't
> do the analysis that can detect uninitialized variables.
Compiling with "-O2 -W -Wall" using either gcc 4.0 or 3.4 I don't get
any warnings. Even adding -Wuninitialized doesn't do anything:
$ make clean && make -j1 CFLAGS="-O2 -W -Wall -Wuninitialized" 2>&1 | fgrep warning
widl.c:189: warning: unused parameter 'sig'
parser.yy.c:1276: warning: comparison between signed and unsigned
More information about the wine-devel