|
|
Oh, thanks for tackling this issue, I will certainly try, when time permits...
I'm getting a warning when compiling, that is new I think:
Compiling drivers/X11/Fl_X11_Screen_Driver.cxx...
drivers/X11/Fl_X11_Screen_Driver.cxx: In member function ‘virtual Fl_RGB_Image* Fl_X11_Screen_Driver::read_win_rectangle(int, int, int, int, Fl_Window*, bool, bool*)’:
drivers/X11/Fl_X11_Screen_Driver.cxx:726:9: warning: ‘sy’ may be used uninitialized in this function [-Wmaybe-uninitialized]
726 | off = a - b;
| ~~~~^~~~~~~
drivers/X11/Fl_X11_Screen_Driver.cxx:789:21: note: ‘sy’ was declared here
789 | int dx, dy, sx, sy, sw, sh;
| ^~
Certainly it stems from line 821, where sy is passed as first parameter to fl_subimage_offsets But why does it not warn for sx in the line before? Maybe a compiler glitch?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
[ Direct Link to Message ] | |
|
| |