[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: tools/widl/typegen.c pointer initialization
From:       Gerald Pfeifer <gerald () pfeifer ! com>
Date:       2007-10-30 13:45:25
Message-ID: Pine.LNX.4.64.0710301431330.26054 () acrux ! dbai ! tuwien ! ac ! at
[Download RAW message or body]

On Mon, 29 Oct 2007, Dan Hipschman wrote:
> 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:

I am mostly using GCC 3.4 with -O2 -Wall as you did, and occasionally
a snapshot of GCC 4.3, with and without -Wextra in addition.  It took
me a bit to find the combination that triggered it, and it is

  GCC 4.3.0 20071029 with -O2 -Wall -Wextra

that issues

  typegen.c: In function 'get_required_buffer_size_type':
  typegen.c:2288: warning: 'uname' may be used uninitialized in this function
  typegen.c: In function 'write_user_tfs':
  typegen.c:953: warning: 'name' may be used uninitialized in this function

Gerald


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic