[openbeos] Re: Open-beos-cvs digest, Vol 1 #1587 - 8 msgs

  • From: "Jared Eldredge" <jared@xxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 15 May 2003 18:59:00 -0400 EDT

Ingo said:
> 
> Compile the first version with the usually very useful option `-
> Wshadow' and you will get:
> 
> $ g++ -Wshadow tt.cpp
> /tmp/tt.cpp: In function `int main()':
> /tmp/tt.cpp:9: warning: declaration of `x' shadows previous local
> 
what does Wshadow do?

-jared

Other related posts: