|
|
Everything default (make without arguments), using g++. Ubuntu 20.04 is updated completley.
g++ --version gives:
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
Disabling silent mode shows:
Compiling drivers/X11/Fl_X11_Screen_Driver.cxx...
g++ -I.. -I../jpeg -Os -Wall -Wunused -Wno-format-y2k -fno-exceptions -fno-strict-aliasing -ffunction-sections -fdata-sections -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DFL_LIBRARY -c drivers/X11/Fl_X11_Screen_Driver.cxx -o drivers/X11/Fl_X11_Screen_Driver.o
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;
| ^~
Maybe @ManoloFLTK does not use optimization? Or using cmake?
— 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 ] | |
|
| |