[STR Closed w/Resolution]

Link: http://www.fltk.org/str.php?L2714
Version: 1.3-feature
Fix Version: 1.3.1 (r9102)


Just checked out the latest svn, made a program called
'shadow_variables.cxx' (attached here) in the test directory that simply
#include's all the files in the FL directory (except mac.H, win32.H and
x.H), and built it with -Wshadow.

Got these, so I guess there's still a few:
$ g++ -I.. -Wshadow -Os -Wall -Wunused -Wno-format-y2k -fno-exceptions
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_THREAD_SAFE -D_REENTRANT -I/usr/include/freetype2
-I/usr/include/freetype2 -c shadow_variables.cxx -o shadow_variables.o
../FL/Fl_Fill_Dial.H: In constructor 'Fl_Fill_Dial::Fl_Fill_Dial(int, int,
int, int, const char*)':
../FL/Fl_Fill_Dial.H:32: warning: declaration of 'h' shadows a member of
'this'
../FL/Fl_Fill_Dial.H:32: warning: declaration of 'w' shadows a member of
'this'
../FL/Fl_Fill_Dial.H:32: warning: declaration of 'y' shadows a member of
'this'
../FL/Fl_Fill_Dial.H:32: warning: declaration of 'x' shadows a member of
'this'
../FL/Fl_Fill_Slider.H: In constructor
'Fl_Fill_Slider::Fl_Fill_Slider(int, int, int, int, const char*)':
../FL/Fl_Fill_Slider.H:31: warning: declaration of 'h' shadows a member of
'this'
../FL/Fl_Fill_Slider.H:31: warning: declaration of 'w' shadows a member of
'this'
../FL/Fl_Fill_Slider.H:31: warning: declaration of 'y' shadows a member of
'this'
../FL/Fl_Fill_Slider.H:31: warning: declaration of 'x' shadows a member of
'this'
../FL/Fl_Hor_Fill_Slider.H: In constructor
'Fl_Hor_Fill_Slider::Fl_Hor_Fill_Slider(int, int, int, int, const char*)':
../FL/Fl_Hor_Fill_Slider.H:30: warning: declaration of 'h' shadows a
member of 'this'
../FL/Fl_Hor_Fill_Slider.H:30: warning: declaration of 'w' shadows a
member of 'this'
../FL/Fl_Hor_Fill_Slider.H:30: warning: declaration of 'y' shadows a
member of 'this'
../FL/Fl_Hor_Fill_Slider.H:30: warning: declaration of 'x' shadows a
member of 'this'
../FL/Fl_Hor_Nice_Slider.H: In constructor
'Fl_Hor_Nice_Slider::Fl_Hor_Nice_Slider(int, int, int, int, const char*)':
../FL/Fl_Hor_Nice_Slider.H:30: warning: declaration of 'h' shadows a
member of 'this'
../FL/Fl_Hor_Nice_Slider.H:30: warning: declaration of 'w' shadows a
member of 'this'
../FL/Fl_Hor_Nice_Slider.H:30: warning: declaration of 'y' shadows a
member of 'this'
../FL/Fl_Hor_Nice_Slider.H:30: warning: declaration of 'x' shadows a
member of 'this'
../FL/Fl_Line_Dial.H: In constructor 'Fl_Line_Dial::Fl_Line_Dial(int, int,
int, int, const char*)':
../FL/Fl_Line_Dial.H:30: warning: declaration of 'h' shadows a member of
'this'
../FL/Fl_Line_Dial.H:30: warning: declaration of 'w' shadows a member of
'this'
../FL/Fl_Line_Dial.H:30: warning: declaration of 'y' shadows a member of
'this'
../FL/Fl_Line_Dial.H:30: warning: declaration of 'x' shadows a member of
'this'
../FL/Fl_Nice_Slider.H: In constructor
'Fl_Nice_Slider::Fl_Nice_Slider(int, int, int, int, const char*)':
../FL/Fl_Nice_Slider.H:30: warning: declaration of 'h' shadows a member of
'this'
../FL/Fl_Nice_Slider.H:30: warning: declaration of 'w' shadows a member of
'this'
../FL/Fl_Nice_Slider.H:30: warning: declaration of 'y' shadows a member of
'this'
../FL/Fl_Nice_Slider.H:30: warning: declaration of 'x' shadows a member of
'this'
../FL/Fl_Radio_Round_Button.H: In constructor
'Fl_Radio_Round_Button::Fl_Radio_Round_Button(int, int, int, int, const
char*)':
../FL/Fl_Radio_Round_Button.H:30: warning: declaration of 'h' shadows a
member of 'this'
../FL/Fl_Radio_Round_Button.H:30: warning: declaration of 'w' shadows a
member of 'this'
../FL/Fl_Radio_Round_Button.H:30: warning: declaration of 'y' shadows a
member of 'this'
../FL/Fl_Radio_Round_Button.H:30: warning: declaration of 'x' shadows a
member of 'this'
../FL/Fl_Simple_Counter.H: In constructor
'Fl_Simple_Counter::Fl_Simple_Counter(int, int, int, int, const char*)':
../FL/Fl_Simple_Counter.H:34: warning: declaration of 'h' shadows a member
of 'this'
../FL/Fl_Simple_Counter.H:34: warning: declaration of 'w' shadows a member
of 'this'
../FL/Fl_Simple_Counter.H:34: warning: declaration of 'y' shadows a member
of 'this'
../FL/Fl_Simple_Counter.H:34: warning: declaration of 'x' shadows a member
of 'this'

$


Link: http://www.fltk.org/str.php?L2714
Version: 1.3-feature
Fix Version: 1.3.1 (r9102)

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to