D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/ntk-1.3.0-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jDNxIq Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xaqCfb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ntk-1.3.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ntk-1.3.0-build + rm -rf ntk-1.3.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ntk-1.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ntk-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ntk-1.3.0-fsf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ntk-unused-shlib.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -e 's|append_value('\''C\(.*\)FLAGS'\'', CFLAGS|append_value('\''C\1FLAGS'\'','\''-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'\''.split('\'' '\'')|' wscript + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.d171op + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ntk-1.3.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ntk-1.3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + LINKFLAGS='-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LINKFLAGS + /usr/bin/waf configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib64 --enable-gl Setting top to : /home/pterjan/rpmbuild/BUILD/ntk-1.3.0-build/ntk-1.3.0 Setting out to : /home/pterjan/rpmbuild/BUILD/ntk-1.3.0-build/ntk-1.3.0/build Checking for 'gcc' (C compiler) : gcc Checking for 'g++' (C++ compiler) : g++ Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for 'x11' : yes Checking for 'fontconfig' : yes Checking for 'xft' : yes Checking for 'cairo' : yes Checking for header unistd.h : yes Checking for header pthread.h : yes Checking for header dirent.h : yes Checking for header string.h : yes Checking for header locale.h : yes Checking for header sys/select.h : yes Checking for header dlfcn.h : yes Checking for header sys/stdtypes.h : not found Checking for header pthread.h : yes Checking for header png.h : yes Checking for PTHREAD_MUTEX_RECURSIVE : yes Invalid argument 'function_name' in test Checking for header stdlib.h : yes Invalid argument 'function_name' in test Checking for header dirent.h : yes Checking for library jpeg : yes Checking for 'libpng' : yes Checking for 'zlib' : yes Checking for 'glu' : yes Checking for header GL/glu.h : yes Checking for long long type : yes Invalid argument 'function_name' in test Checking for header strings.h : yes Invalid argument 'function_name' in test Checking for header stdio.h : yes Invalid argument 'function_name' in test Checking for header ['stdio.h', 'stdarg.h'] : yes Checking sizeof short : yes Checking sizeof int : yes Checking sizeof long : yes --- Note: "not found" is OK for optional items. --- Building for performance 'configure' finished successfully (2.347s) + /usr/bin/waf build -j16 Waf: Entering directory `/home/pterjan/rpmbuild/BUILD/ntk-1.3.0-build/ntk-1.3.0/build' [ 1/388] Compiling src/filename_ext.cxx [ 2/388] Compiling src/filename_expand.cxx [ 3/388] Compiling src/filename_absolute.cxx [ 4/388] Compiling src/Fl_x.cxx [ 5/388] Compiling src/Fl_visual.cxx [ 6/388] Compiling src/Fl_own_colormap.cxx [ 7/388] Compiling src/Fl_grab.cxx [ 8/388] Compiling src/Fl_compose.cxx [ 9/388] Compiling src/Fl_Window_hotspot.cxx [ 10/388] Compiling src/Fl_Widget.cxx [ 11/388] Compiling src/Fl_Value_Slider.cxx [ 12/388] Compiling src/Fl_Window.cxx [ 13/388] Compiling src/Fl_Value_Output.cxx [ 14/388] Compiling src/Fl_Valuator.cxx [ 15/388] Compiling src/Fl_Value_Input.cxx [ 16/388] Compiling src/Fl_Window_fullscreen.cxx [ 17/388] Compiling src/Fl_Window_iconize.cxx [ 18/388] Compiling src/Fl_Tooltip.cxx [ 19/388] Compiling src/Fl_Wizard.cxx [ 20/388] Compiling src/Fl_Tree_Item.cxx [ 21/388] Compiling src/Fl_Tree.cxx [ 22/388] Compiling src/Fl_Text_Editor.cxx [ 23/388] Compiling src/Fl_Progress.cxx [ 24/388] Compiling src/Fl_Native_File_Chooser.cxx [ 25/388] Compiling src/Fl_Menu_add.cxx [ 26/388] Compiling src/Fl_Menu_global.cxx [ 27/388] Compiling src/Fl_Multi_Label.cxx [ 28/388] Compiling src/Fl_Light_Button.cxx [ 29/388] Compiling src/Fl_Input_.cxx [ 30/388] Compiling src/Fl_Menu.cxx [ 31/388] Compiling src/Fl_Group.cxx [ 32/388] Compiling src/Fl_Device.cxx [ 33/388] Compiling src/fl_show_colormap.cxx [ 34/388] Compiling src/Fl_Chart.cxx [ 35/388] Compiling src/fl_set_fonts.cxx [ 36/388] Compiling src/Fl_Button.cxx [ 37/388] Compiling src/Fl_Check_Button.cxx [ 38/388] Compiling src/Fl_Box.cxx [ 39/388] Compiling src/Fl_Browser_load.cxx [ 40/388] Compiling src/Fl_Browser.cxx [ 41/388] Compiling src/Fl_Adjuster.cxx [ 42/388] Compiling src/Fl_Bitmap.cxx [ 43/388] Compiling src/fl_open_uri.cxx [ 44/388] Compiling src/Fl_Cairo_Graphics_Driver.cxx [ 45/388] Compiling src/fl_file_dir.cxx [ 46/388] Compiling src/Fl.cxx [ 47/388] Compiling src/flstring.c [ 48/388] Compiling src/numericsort.c In file included from /usr/include/string.h:548, from ../src/Fl_Tree_Item.cxx:7: In function ‘char* strcat(char*, const char*)’, inlined from ‘void Fl_Tree_Item::show_self(const char*) const’ at ../src/Fl_Tree_Item.cxx:122:11: /usr/include/bits/string_fortified.h:140:33: warning: ‘void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int)’ writing 3 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 140 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 49/388] Compiling src/Fl_Check_Browser.cxx [ 50/388] Compiling src/Fl_Browser_.cxx [ 51/388] Compiling src/Fl_Choice.cxx [ 52/388] Compiling src/xutf8/utf8Input.c [ 53/388] Compiling src/fl_draw_pixmap.cxx [ 54/388] Compiling src/xutf8/keysym2Ucs.c [ 55/388] Compiling src/xutf8/is_spacing.c [ 56/388] Compiling src/fl_utf.c In file included from ../FL/Fl_Printer.H:35, from ../src/Fl_Bitmap.cxx:40: ../FL/Fl_Paged_Device.H:124:15: warning: ‘virtual int Fl_Paged_Device::start_job(int, int*, int*)’ was hidden [-Woverloaded-virtual=] 124 | virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL); | ^~~~~~~~~ In file included from ../FL/Fl_Printer.H:42: ../FL/Fl_PostScript.H:227:7: note: by ‘int Fl_PostScript_File_Device::start_job(int, Fl_Paged_Device::Page_Format, Fl_Paged_Device::Page_Layout)’ 227 | int start_job(int pagecount, enum Fl_Paged_Device::Page_Format format = Fl_Paged_Device::A4, | ^~~~~~~~~ [ 57/388] Compiling src/ps_image.cxx [ 58/388] Compiling src/vsnprintf.c [ 59/388] Compiling src/xutf8/is_right2left.c [ 60/388] Compiling src/Vector_Theme.cxx ../src/Fl_x.cxx: In function ‘int fl_handle(const XEvent&)’: ../src/Fl_x.cxx:1559:34: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, int)’ is deprecated [-Wdeprecated-declarations] 1559 | keysym = XKeycodeToKeysym(fl_display, keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/cairo/cairo-xlib.h:44, from ../FL/Fl_Cairo.H:46, from ../FL/Fl.H:35, from ../src/Fl_x.cxx:39: /usr/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ ../src/Fl_x.cxx:1571:36: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, int)’ is deprecated [-Wdeprecated-declarations] 1571 | keysym = XKeycodeToKeysym(fl_display, keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ ../src/Fl_x.cxx:1617:32: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, int)’ is deprecated [-Wdeprecated-declarations] 1617 | keysym = XKeycodeToKeysym(fl_display, keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ ../src/Fl_x.cxx:1710:47: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, int)’ is deprecated [-Wdeprecated-declarations] 1710 | unsigned long keysym1 = XKeycodeToKeysym(fl_display, keycode, 1); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ ../src/Fl_x.cxx:1538:9: warning: variable ‘len’ set but not used [-Wunused-but-set-variable] 1538 | int len; | ^~~ [ 61/388] Compiling src/Crystal_Theme.cxx [ 62/388] Compiling src/Clean_Theme.cxx [ 63/388] Compiling src/Gleam_Theme.cxx [ 64/388] Compiling src/fl_arc.cxx [ 65/388] Compiling src/Fl_Theme_Chooser.cxx ../src/fl_draw_pixmap.cxx: In function ‘int fl_draw_pixmap(const char* const*, int, int, Fl_Color)’: ../src/fl_draw_pixmap.cxx:221:10: warning: variable ‘transparent_c’ set but not used [-Wunused-but-set-variable] 221 | uchar *transparent_c = (uchar *)0; // such that transparent_c[0,1,2] are the RGB of the transparent color | ^~~~~~~~~~~~~ [ 66/388] Compiling src/Cairo_Theme.cxx ../src/Fl_Menu.cxx: In constructor ‘menuwindow::menuwindow(const Fl_Menu_Item*, int, int, int, int, const Fl_Menu_Item*, const Fl_Menu_Item*, int, int, int)’: ../src/Fl_Menu.cxx:368:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 368 | if (X < scr_x) X = scr_x; if (X > scr_x+scr_w-W) X = right_edge-W; //X= scr_x+scr_w-W; | ^~ ../src/Fl_Menu.cxx:368:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 368 | if (X < scr_x) X = scr_x; if (X > scr_x+scr_w-W) X = right_edge-W; //X= scr_x+scr_w-W; | ^~ [ 67/388] Compiling src/Fl_Theme.cxx ../src/xutf8/utf8Input.c: In function ‘XConvertEucTwToUtf8’: ../src/xutf8/utf8Input.c:95:21: warning: variable ‘b’ set but not used [-Wunused-but-set-variable] 95 | unsigned char b[2]; | ^ ../src/xutf8/utf8Input.c:100:21: warning: variable ‘b’ set but not used [-Wunused-but-set-variable] 100 | unsigned char b[2]; | ^ ../src/xutf8/utf8Input.c:74:15: warning: variable ‘b’ set but not used [-Wunused-but-set-variable] 74 | char *buf, *b; | ^ [ 68/388] Compiling src/filename_isdir.cxx ../src/Clean_Theme.cxx:71:13: warning: ‘void flat_box(int, int, int, int, Fl_Color)’ defined but not used [-Wunused-function] 71 | static void flat_box( int x, int y, int w, int h, Fl_Color c ) | ^~~~~~~~ [ 69/388] Compiling src/fl_color.cxx [ 70/388] Compiling src/screen_xywh.cxx [ 71/388] Compiling src/fl_symbols.cxx [ 72/388] Compiling src/fl_vertex.cxx ../src/Fl.cxx: In member function ‘virtual void Fl_Window::hide()’: ../src/Fl.cxx:1437:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1437 | if (ip->region) cairo_region_destroy( ip->region ); ip->region = 0; | ^~ ../src/Fl.cxx:1437:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1437 | if (ip->region) cairo_region_destroy( ip->region ); ip->region = 0; | ^~ ../src/Fl.cxx:1440:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1440 | if ( ip->cc ) | ^~ ../src/Fl.cxx:1441:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1441 | cairo_destroy( ip->cc ); ip->cc = 0; | ^~ [ 73/388] Compiling src/fl_shortcut.cxx [ 74/388] Compiling src/fl_scroll_area.cxx ../src/Fl_Browser.cxx: In member function ‘virtual int Fl_Browser::item_height(void*) const’: ../src/Fl_Browser.cxx:384:14: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 384 | long int dummy; | ^~~~~ ../src/Fl_Browser.cxx: In member function ‘virtual int Fl_Browser::item_width(void*) const’: ../src/Fl_Browser.cxx:452:14: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 452 | long int dummy; | ^~~~~ ../src/Fl_Browser.cxx: In member function ‘virtual void Fl_Browser::item_draw(void*, int, int, int, int) const’: ../src/Fl_Browser.cxx:547:16: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 547 | long int dummy; | ^~~~~ [ 75/388] Compiling src/fl_set_font.cxx [ 76/388] Compiling src/fl_shadow_box.cxx [ 77/388] Compiling src/fl_rounded_box.cxx [ 78/388] Compiling src/fl_rect.cxx [ 79/388] Compiling src/fl_round_box.cxx [ 80/388] Compiling src/fl_read_image.cxx ../src/Fl_Browser_.cxx: In member function ‘virtual int Fl_Browser_::handle(int)’: ../src/Fl_Browser_.cxx:723:11: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 723 | while ((l = item_next(l))) | ^~~~~ ../src/Fl_Browser_.cxx:725:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 725 | return 1; | ^~~~~~ [ 81/388] Compiling src/fl_overlay.cxx [ 82/388] Compiling src/fl_oval_box.cxx [ 83/388] Compiling src/fl_labeltype.cxx [ 84/388] Compiling src/fl_encoding_mac_roman.cxx [ 85/388] Compiling src/fl_engraved_label.cxx [ 86/388] Compiling src/fl_font.cxx [ 87/388] Compiling src/fl_encoding_latin1.cxx [ 88/388] Compiling src/fl_line_style.cxx [ 89/388] Compiling src/fl_draw.cxx [ 90/388] Compiling src/Fl_Cairo.cxx [ 91/388] Compiling src/fl_dnd.cxx [ 92/388] Compiling src/fl_curve.cxx [ 93/388] Compiling src/fl_diamond_box.cxx [ 94/388] Compiling src/fl_draw_image.cxx [ 95/388] Compiling src/fl_boxtype.cxx [ 96/388] Compiling src/fl_ask.cxx [ 97/388] Compiling src/fl_arci.cxx In file included from ../FL/Fl_PostScript.H:35, from ../src/ps_image.cxx:34: ../FL/Fl_Paged_Device.H:124:15: warning: ‘virtual int Fl_Paged_Device::start_job(int, int*, int*)’ was hidden [-Woverloaded-virtual=] 124 | virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL); | ^~~~~~~~~ ../FL/Fl_PostScript.H:227:7: note: by ‘int Fl_PostScript_File_Device::start_job(int, Fl_Paged_Device::Page_Format, Fl_Paged_Device::Page_Layout)’ 227 | int start_job(int pagecount, enum Fl_Paged_Device::Page_Format format = Fl_Paged_Device::A4, | ^~~~~~~~~ [ 98/388] Compiling src/fl_cursor.cxx In file included from ../FL/Fl_Printer.H:35, from ../src/fl_line_style.cxx:36: ../FL/Fl_Paged_Device.H:124:15: warning: ‘virtual int Fl_Paged_Device::start_job(int, int*, int*)’ was hidden [-Woverloaded-virtual=] 124 | virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL); | ^~~~~~~~~ In file included from ../FL/Fl_Printer.H:42: ../FL/Fl_PostScript.H:227:7: note: by ‘int Fl_PostScript_File_Device::start_job(int, Fl_Paged_Device::Page_Format, Fl_Paged_Device::Page_Layout)’ 227 | int start_job(int pagecount, enum Fl_Paged_Device::Page_Format format = Fl_Paged_Device::A4, | ^~~~~~~~~ [ 99/388] Compiling src/filename_match.cxx [100/388] Compiling src/filename_setext.cxx [101/388] Compiling src/xutf8/utf8Utils.c In file included from ../FL/Fl_Printer.H:35, from ../src/fl_rect.cxx:41: ../FL/Fl_Paged_Device.H:124:15: warning: ‘virtual int Fl_Paged_Device::start_job(int, int*, int*)’ was hidden [-Woverloaded-virtual=] 124 | virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL); | ^~~~~~~~~ In file included from ../FL/Fl_Printer.H:42: ../FL/Fl_PostScript.H:227:7: note: by ‘int Fl_PostScript_File_Device::start_job(int, Fl_Paged_Device::Page_Format, Fl_Paged_Device::Page_Layout)’ 227 | int start_job(int pagecount, enum Fl_Paged_Device::Page_Format format = Fl_Paged_Device::A4, | ^~~~~~~~~ [102/388] Compiling src/filename_list.cxx [103/388] Compiling src/Fl_Repeat_Button.cxx [104/388] Compiling src/xutf8/utf8Wrap.c [105/388] Compiling src/Fl_Color_Chooser.cxx [106/388] Compiling src/Fl_Tree_Item_Array.cxx [107/388] Compiling src/Fl_Return_Button.cxx [108/388] Compiling src/Fl_Counter.cxx [109/388] Compiling src/Fl_Dial.cxx [110/388] Compiling src/Fl_Round_Button.cxx [111/388] Compiling src/Fl_Dial_Base.cxx [112/388] Compiling src/fl_utf8.cxx [113/388] Compiling src/Fl_display.cxx ../src/fl_ask.cxx: In function ‘Fl_Window* makeform()’: ../src/fl_ask.cxx:110:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 110 | button[b]->callback(button_cb,(void *)b); | ^~~~~~~~~ [114/388] Compiling src/Fl_Tree_Prefs.cxx [115/388] Compiling src/Fl_Scroll.cxx [116/388] Compiling src/Fl_Double_Window.cxx [117/388] Compiling src/Fl_File_Browser.cxx [118/388] Compiling src/Fl_Scrollbar.cxx [119/388] Compiling src/Fl_File_Chooser.cxx [120/388] Compiling src/themes.cxx In file included from ../src/fl_font.cxx:62: ../src/fl_font_xft.cxx: In member function ‘virtual void Fl_Xlib_Graphics_Driver::rtl_draw(const char*, int, int, int)’: ../src/fl_font_xft.cxx:704:7: warning: variable ‘in’ set but not used [-Wunused-but-set-variable] 704 | int in, out, sz; | ^~ [121/388] Compiling src/Fl_XBM_Image.cxx [122/388] Compiling src/Fl_Shared_Image.cxx [123/388] Compiling src/Fl_File_Chooser2.cxx [124/388] Compiling src/Fl_File_Icon.cxx [125/388] Compiling src/Fl_Single_Window.cxx ../src/fl_draw.cxx: In function ‘bool handle_utf8_seq(const char*&, char*&)’: ../src/fl_draw.cxx:59:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 59 | register const unsigned char* p=(const unsigned char*)s; | ^ [126/388] Compiling src/Fl_File_Input.cxx [127/388] Compiling src/xutf8/case.c In file included from ../FL/Fl_Printer.H:35, from ../src/Fl_Double_Window.cxx:31: ../FL/Fl_Paged_Device.H:124:15: warning: ‘virtual int Fl_Paged_Device::start_job(int, int*, int*)’ was hidden [-Woverloaded-virtual=] 124 | virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL); | ^~~~~~~~~ In file included from ../FL/Fl_Printer.H:42: ../FL/Fl_PostScript.H:227:7: note: by ‘int Fl_PostScript_File_Device::start_job(int, Fl_Paged_Device::Page_Format, Fl_Paged_Device::Page_Layout)’ 227 | int start_job(int pagecount, enum Fl_Paged_Device::Page_Format format = Fl_Paged_Device::A4, | ^~~~~~~~~ ../src/Fl_Double_Window.cxx: In member function ‘virtual void Fl_Double_Window::hide()’: ../src/Fl_Double_Window.cxx:438:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 438 | if ( myi->other_cc ) | ^~ ../src/Fl_Double_Window.cxx:439:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 439 | cairo_destroy( myi->other_cc ); myi->other_cc = 0; | ^~~ [128/388] Compiling src/Fl_lock.cxx [129/388] Compiling src/Fl_get_key.cxx [130/388] Compiling src/Fl_XPM_Image.cxx [131/388] Compiling src/Fl_Slider.cxx [132/388] Compiling src/Fl_Help_View.cxx [133/388] Compiling src/Fl_Image.cxx [134/388] Compiling src/Fl_Table.cxx [135/388] Compiling src/Fl_Input.cxx [136/388] Compiling src/Fl_Menu_.cxx [137/388] Compiling src/Fl_abort.cxx [138/388] Compiling src/Fl_Table_Row.cxx [139/388] Compiling src/Fl_Menu_Bar.cxx [140/388] Compiling src/Fl_Sys_Menu_Bar.cxx [141/388] Compiling src/Fl_Tabs.cxx [142/388] Compiling src/Fl_Menu_Button.cxx [143/388] Compiling src/Fl_Menu_Window.cxx [144/388] Compiling src/Fl_get_system_colors.cxx [145/388] Compiling src/Fl_add_idle.cxx [146/388] Compiling src/Fl_Text_Buffer.cxx ../src/xutf8/utf8Wrap.c: In function ‘load_fonts’: ../src/xutf8/utf8Wrap.c:242:10: warning: variable ‘list’ set but not used [-Wunused-but-set-variable] 242 | char **list; | ^~~~ ../src/xutf8/utf8Wrap.c: In function ‘XUtf8_measure_extents’: ../src/xutf8/utf8Wrap.c:599:7: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] 599 | int res; /* result from calling XTextExtents16() - we should test this is OK! */ | ^~~ ../src/xutf8/utf8Wrap.c: In function ‘XGetUtf8FontAndGlyph’: ../src/xutf8/utf8Wrap.c:838:19: warning: variable ‘last_fnum’ set but not used [-Wunused-but-set-variable] 838 | int last_fnum; /* font index of the previous char */ | ^~~~~~~~~ ../src/xutf8/utf8Wrap.c:836:19: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] 836 | int i; /* current byte in the XChar2b buffer */ | ^ ../src/xutf8/utf8Wrap.c:832:19: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 832 | int x; | ^ ../src/xutf8/utf8Wrap.c: In function ‘XUtf8UcsWidth’: ../src/xutf8/utf8Wrap.c:908:17: warning: variable ‘last_fnum’ set but not used [-Wunused-but-set-variable] 908 | int last_fnum; /* font index of the previous char */ | ^~~~~~~~~ ../src/xutf8/utf8Wrap.c:906:17: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] 906 | int i; /* current byte in the XChar2b buffer */ | ^ [147/388] Compiling src/Fl_Overlay_Window.cxx [148/388] Compiling src/Fl_Pack.cxx [149/388] Compiling src/Fl_Text_Display.cxx [150/388] Compiling src/Fl_Paged_Device.cxx [151/388] Compiling src/Fl_Panzoomer.cxx [152/388] Compiling src/Fl_arg.cxx ../src/Fl_Image.cxx: In member function ‘virtual Fl_Image* Fl_RGB_Image::copy(int, int)’: ../src/Fl_Image.cxx:255:60: warning: ‘fmt’ may be used uninitialized [-Wmaybe-uninitialized] 255 | cairo_surface_t *si = cairo_image_surface_create_for_data( (unsigned char *)array, fmt, w(), h( ), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 256 | cairo_format_stride_for_width( fmt, w() ) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/Fl_Image.cxx:240:18: note: ‘fmt’ was declared here 240 | cairo_format_t fmt; | ^~~ [153/388] Compiling src/Fl_Tile.cxx [154/388] Compiling src/Fl_Pixmap.cxx [155/388] Compiling src/Fl_Positioner.cxx ../src/Fl_Overlay_Window.cxx: In member function ‘virtual void Fl_Overlay_Window::flush()’: ../src/Fl_Overlay_Window.cxx:58:9: warning: unused variable ‘myi’ [-Wunused-variable] 58 | Fl_X* myi = Fl_X::i(this); | ^~~ [156/388] Compiling src/Fl_Tiled_Image.cxx ../src/Fl_File_Chooser2.cxx: In member function ‘const char* Fl_File_Chooser::value(int)’: ../src/Fl_File_Chooser2.cxx:1487:54: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 1487 | snprintf(pathname, sizeof(pathname), "%s/%s", directory_, name); | ^ In file included from /usr/include/stdio.h:970, from ../FL/fl_utf8.h:42, from ../FL/Fl.H:37, from ../FL/Fl_File_Chooser.H:32, from ../src/Fl_File_Chooser2.cxx:345: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘const char* Fl_File_Chooser::value(int)’ at ../src/Fl_File_Chooser2.cxx:1487:12: /usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 2049) into a destination of size 2048 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../src/Fl_File_Chooser2.cxx: In member function ‘void Fl_File_Chooser::fileListCB()’: ../src/Fl_File_Chooser2.cxx:712:48: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 712 | snprintf(pathname, sizeof(pathname), "%s/%s", directory_, filename); | ^ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void Fl_File_Chooser::fileListCB()’ at ../src/Fl_File_Chooser2.cxx:712:13: /usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 2049) into a destination of size 2048 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../src/Fl_File_Chooser2.cxx: In member function ‘void Fl_File_Chooser::newdir()’: ../src/Fl_File_Chooser2.cxx:1068:48: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 1068 | snprintf(pathname, sizeof(pathname), "%s/%s", directory_, dir); | ^ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void Fl_File_Chooser::newdir()’ at ../src/Fl_File_Chooser2.cxx:1068:13: /usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 2049) into a destination of size 2048 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../src/Fl_File_Chooser2.cxx: In member function ‘void Fl_File_Chooser::fileNameCB()’: ../src/Fl_File_Chooser2.cxx:901:52: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 901 | snprintf(tempname, sizeof(tempname), "%s/%s", directory_, filename); | ^ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void Fl_File_Chooser::fileNameCB()’ at ../src/Fl_File_Chooser2.cxx:901:10: /usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 2049) into a destination of size 2048 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [157/388] Compiling src/Fl_Preferences.cxx [158/388] Compiling src/Fl_Printer.cxx [159/388] Compiling src/Fl_JPEG_Image.cxx [160/388] Compiling src/Fl_BMP_Image.cxx [161/388] Compiling src/Fl_GIF_Image.cxx [162/388] Compiling src/Fl_PNM_Image.cxx [163/388] Compiling src/Fl_File_Icon2.cxx [164/388] Compiling src/Fl_Help_Dialog.cxx [165/388] Compiling src/fl_images_core.cxx [166/388] Compiling src/Fl_PNG_Image.cxx [167/388] Compiling src/Fl_Gl_Overlay.cxx [168/388] Compiling src/glut_compatability.cxx ../src/Fl_Table.cxx: In member function ‘void Fl_Table::recalc_dimensions()’: ../src/Fl_Table.cxx:489:10: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses] 489 | if ( !hideh & hidev ) { hidev = (( table_h - tih + SCROLLBAR_SIZE ) <= 0 ); } | ^~~~~~ ../src/Fl_Table.cxx:490:10: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses] 490 | if ( !hidev & hideh ) { hideh = (( table_w - tiw + SCROLLBAR_SIZE ) <= 0 ); } | ^~~~~~ [169/388] Compiling src/Fl_Gl_Device_Plugin.cxx [170/388] Compiling src/Fl_Gl_Choice.cxx [171/388] Compiling src/Fl_Gl_Window.cxx In file included from ../FL/Fl_Printer.H:35, from ../src/Fl_Pixmap.cxx:50: ../FL/Fl_Paged_Device.H:124:15: warning: ‘virtual int Fl_Paged_Device::start_job(int, int*, int*)’ was hidden [-Woverloaded-virtual=] 124 | virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL); | ^~~~~~~~~ In file included from ../FL/Fl_Printer.H:42: ../FL/Fl_PostScript.H:227:7: note: by ‘int Fl_PostScript_File_Device::start_job(int, Fl_Paged_Device::Page_Format, Fl_Paged_Device::Page_Layout)’ 227 | int start_job(int pagecount, enum Fl_Paged_Device::Page_Format format = Fl_Paged_Device::A4, | ^~~~~~~~~ [172/388] Compiling src/gl_start.cxx [173/388] Compiling src/glut_font.cxx [174/388] Compiling src/gl_draw.cxx [175/388] Compiling src/xutf8/utf8Input.c [176/388] Compiling src/Fl_Tree.cxx [177/388] Compiling src/Fl_Input_.cxx [178/388] Compiling src/Fl_Browser_load.cxx In file included from ../FL/Fl_Printer.H:35, from ../src/Fl_Gl_Device_Plugin.cxx:29: ../FL/Fl_Paged_Device.H:124:15: warning: ‘virtual int Fl_Paged_Device::start_job(int, int*, int*)’ was hidden [-Woverloaded-virtual=] 124 | virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL); | ^~~~~~~~~ In file included from ../FL/Fl_Printer.H:42: ../FL/Fl_PostScript.H:227:7: note: by ‘int Fl_PostScript_File_Device::start_job(int, Fl_Paged_Device::Page_Format, Fl_Paged_Device::Page_Layout)’ 227 | int start_job(int pagecount, enum Fl_Paged_Device::Page_Format format = Fl_Paged_Device::A4, | ^~~~~~~~~ [179/388] Compiling src/fl_engraved_label.cxx [180/388] Compiling src/fl_encoding_mac_roman.cxx [181/388] Compiling src/fl_encoding_latin1.cxx In file included from ../src/glut_font.cxx:38: ../FL/glut.H: In function ‘void glutTimerFunc(unsigned int, void (*)(int), int)’: ../FL/glut.H:245:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 245 | Fl::add_timeout(msec*.001, (void (*)(void *))f, (void *)value); | ^~~~~~~~~~~~~ [182/388] Compiling src/Fl_Input.cxx In file included from ../src/glut_compatability.cxx:41: ../FL/glut.H: In function ‘void glutTimerFunc(unsigned int, void (*)(int), int)’: ../FL/glut.H:245:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 245 | Fl::add_timeout(msec*.001, (void (*)(void *))f, (void *)value); | ^~~~~~~~~~~~~ ../src/glut_compatability.cxx: In function ‘void glutAddMenuEntry(char*, int)’: ../src/glut_compatability.cxx:345:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 345 | i->user_data_ = (void *)value; | ^~~~~~~~~~~~~ ../src/glut_compatability.cxx: In function ‘void glutChangeToMenuEntry(int, char*, int)’: ../src/glut_compatability.cxx:362:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 362 | i->user_data_ = (void *)value; | ^~~~~~~~~~~~~ [183/388] Compiling src/Fl_Slider.cxx [184/388] Compiling src/Fl_Table.cxx [185/388] Compiling src/fl_draw_image.cxx [186/388] Compiling src/fl_draw_pixmap.cxx [187/388] Compiling src/Fl_Cairo.cxx [188/388] Compiling src/fl_draw.cxx ../src/Fl_Preferences.cxx: In member function ‘int Fl_Preferences::Node::write(FILE*)’: ../src/Fl_Preferences.cxx:1319:16: warning: variable ‘written’ set but not used [-Wunused-but-set-variable] 1319 | int cnt, written; | ^~~~~~~ [189/388] Linking build/libntk_gl.so [190/388] Compiling src/fl_dnd.cxx [191/388] Compiling src/Fl_Single_Window.cxx ../src/xutf8/utf8Input.c: In function ‘XConvertEucTwToUtf8’: ../src/xutf8/utf8Input.c:95:21: warning: variable ‘b’ set but not used [-Wunused-but-set-variable] 95 | unsigned char b[2]; | ^ ../src/xutf8/utf8Input.c:100:21: warning: variable ‘b’ set but not used [-Wunused-but-set-variable] 100 | unsigned char b[2]; | ^ ../src/xutf8/utf8Input.c:74:15: warning: variable ‘b’ set but not used [-Wunused-but-set-variable] 74 | char *buf, *b; | ^ [192/388] Compiling src/Fl_arg.cxx [193/388] Compiling src/Fl_Shared_Image.cxx ../src/Fl_File_Icon2.cxx: In static member function ‘static void Fl_File_Icon::load_system_icons()’: ../src/Fl_File_Icon2.cxx:704:49: warning: ‘/16x16/mimetypes/unknown.png’ directive output may be truncated writing 28 bytes into a region of size between 1 and 2048 [-Wformat-truncation=] 704 | snprintf(filename, sizeof(filename), "%s/16x16/mimetypes/unknown.png", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from ../src/Fl_File_Icon2.cxx:45: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘static void Fl_File_Icon::load_system_icons()’ at ../src/Fl_File_Icon2.cxx:704:17: /usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output between 29 and 2076 bytes into a destination of size 2048 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../src/Fl_File_Icon2.cxx: In static member function ‘static void Fl_File_Icon::load_system_icons()’: ../src/Fl_File_Icon2.cxx:715:47: warning: ‘/16x16/filesystems/link.png’ directive output may be truncated writing 27 bytes into a region of size between 1 and 2048 [-Wformat-truncation=] 715 | snprintf(filename, sizeof(filename), "%s/16x16/filesystems/link.png", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘static void Fl_File_Icon::load_system_icons()’ at ../src/Fl_File_Icon2.cxx:715:15: /usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output between 28 and 2075 bytes into a destination of size 2048 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [194/388] Compiling src/fl_diamond_box.cxx [195/388] Compiling src/fl_curve.cxx ../src/fl_draw_pixmap.cxx: In function ‘int fl_draw_pixmap(const char* const*, int, int, Fl_Color)’: ../src/fl_draw_pixmap.cxx:221:10: warning: variable ‘transparent_c’ set but not used [-Wunused-but-set-variable] 221 | uchar *transparent_c = (uchar *)0; // such that transparent_c[0,1,2] are the RGB of the transparent color | ^~~~~~~~~~~~~ [196/388] Compiling src/fl_cursor.cxx [197/388] Linking build/libntk_images.so [198/388] Compiling src/Fl_Help_View.cxx [199/388] Compiling src/Fl_Scroll.cxx [200/388] Compiling src/fl_utf8.cxx [201/388] Compiling src/fl_boxtype.cxx [202/388] Compiling src/Fl_Menu_.cxx In file included from ../FL/Fl_Printer.H:35, from ../src/Fl_Text_Display.cxx:41: ../FL/Fl_Paged_Device.H:124:15: warning: ‘virtual int Fl_Paged_Device::start_job(int, int*, int*)’ was hidden [-Woverloaded-virtual=] 124 | virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL); | ^~~~~~~~~ In file included from ../FL/Fl_Printer.H:42: ../FL/Fl_PostScript.H:227:7: note: by ‘int Fl_PostScript_File_Device::start_job(int, Fl_Paged_Device::Page_Format, Fl_Paged_Device::Page_Layout)’ 227 | int start_job(int pagecount, enum Fl_Paged_Device::Page_Format format = Fl_Paged_Device::A4, | ^~~~~~~~~ ../src/Fl_Text_Display.cxx: In member function ‘int Fl_Text_Display::position_to_xy(int, int*, int*) const’: ../src/Fl_Text_Display.cxx:814:33: warning: variable ‘lineLen’ set but not used [-Wunused-but-set-variable] 814 | int lineStartPos, fontHeight, lineLen; | ^~~~~~~ ../src/Fl_Text_Display.cxx: In member function ‘void Fl_Text_Display::measure_deleted_lines(int, int)’: ../src/Fl_Text_Display.cxx:2973:7: warning: variable ‘visLineNum’ set but not used [-Wunused-but-set-variable] 2973 | int visLineNum = 0, nLines = 0, i; | ^~~~~~~~~~ [203/388] Compiling src/fl_ask.cxx [204/388] Compiling src/fl_arci.cxx [205/388] Compiling src/Fl_Group.cxx [206/388] Compiling src/Fl_Window_hotspot.cxx [207/388] Compiling src/Fl_Return_Button.cxx In file included from ../FL/Fl_Printer.H:35, from ../src/Fl_Printer.cxx:31: ../FL/Fl_Paged_Device.H:124:15: warning: ‘virtual int Fl_Paged_Device::start_job(int, int*, int*)’ was hidden [-Woverloaded-virtual=] 124 | virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL); | ^~~~~~~~~ In file included from ../FL/Fl_Printer.H:42: ../FL/Fl_PostScript.H:227:7: note: by ‘int Fl_PostScript_File_Device::start_job(int, Fl_Paged_Device::Page_Format, Fl_Paged_Device::Page_Layout)’ 227 | int start_job(int pagecount, enum Fl_Paged_Device::Page_Format format = Fl_Paged_Device::A4, | ^~~~~~~~~ [208/388] Compiling src/fl_arc.cxx [209/388] Compiling src/filename_setext.cxx [210/388] Compiling src/Fl_Round_Button.cxx ../src/fl_draw.cxx: In function ‘bool handle_utf8_seq(const char*&, char*&)’: ../src/fl_draw.cxx:59:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 59 | register const unsigned char* p=(const unsigned char*)s; | ^ [211/388] Compiling src/filename_match.cxx [212/388] Compiling src/filename_list.cxx [213/388] Compiling src/Fl_File_Input.cxx [214/388] Compiling src/Fl_Progress.cxx ../src/Fl_Table.cxx: In member function ‘void Fl_Table::recalc_dimensions()’: ../src/Fl_Table.cxx:489:10: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses] 489 | if ( !hideh & hidev ) { hidev = (( table_h - tih + SCROLLBAR_SIZE ) <= 0 ); } | ^~~~~~ ../src/Fl_Table.cxx:490:10: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses] 490 | if ( !hidev & hideh ) { hideh = (( table_w - tiw + SCROLLBAR_SIZE ) <= 0 ); } | ^~~~~~ [215/388] Compiling src/Fl_XBM_Image.cxx [216/388] Compiling src/filename_ext.cxx [217/388] Compiling src/filename_isdir.cxx [218/388] Compiling src/filename_expand.cxx [219/388] Compiling src/filename_absolute.cxx [220/388] Compiling src/Fl_File_Icon.cxx [221/388] Compiling src/Fl.cxx [222/388] Compiling src/Fl_Window.cxx ../src/fl_ask.cxx: In function ‘Fl_Window* makeform()’: ../src/fl_ask.cxx:110:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 110 | button[b]->callback(button_cb,(void *)b); | ^~~~~~~~~ [223/388] Compiling src/Fl_Menu_Window.cxx [224/388] Compiling src/Fl_Bitmap.cxx [225/388] Compiling src/Fl_x.cxx ../src/Fl_Help_View.cxx: In member function ‘Fl_Shared_Image* Fl_Help_View::get_image(const char*, int, int)’: ../src/Fl_Help_View.cxx:2634:42: warning: ‘%s’ directive output may be truncated writing up to 2047 bytes into a region of size 2043 [-Wformat-truncation=] 2634 | snprintf(temp, sizeof(temp), "file:%s/%s", dir, name); | ^~ ~~~ In file included from /usr/include/stdio.h:970, from ../FL/Fl_Help_View.H:39, from ../src/Fl_Help_View.cxx:58: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘Fl_Shared_Image* Fl_Help_View::get_image(const char*, int, int)’ at ../src/Fl_Help_View.cxx:2634:15: /usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 2054) into a destination of size 2048 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../src/Fl_Help_View.cxx: In member function ‘Fl_Shared_Image* Fl_Help_View::get_image(const char*, int, int)’: ../src/Fl_Help_View.cxx:2631:59: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 2631 | if (directory_[0]) snprintf(temp, sizeof(temp), "%s/%s", directory_, name); | ^ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘Fl_Shared_Image* Fl_Help_View::get_image(const char*, int, int)’ at ../src/Fl_Help_View.cxx:2631:32: /usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 2049) into a destination of size 2048 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../src/Fl_Help_View.cxx: In member function ‘Fl_Shared_Image* Fl_Help_View::get_image(const char*, int, int)’: ../src/Fl_Help_View.cxx:2625:42: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 2625 | snprintf(temp, sizeof(temp), "%s/%s", directory_, name); | ^ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘Fl_Shared_Image* Fl_Help_View::get_image(const char*, int, int)’ at ../src/Fl_Help_View.cxx:2625:15: /usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 2049) into a destination of size 2048 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../src/Fl_Help_View.cxx: In member function ‘int Fl_Help_View::load(const char*)’: ../src/Fl_Help_View.cxx:3212:46: warning: ‘%s’ directive output may be truncated writing up to 2047 bytes into a region of size 935 [-Wformat-truncation=] 3212 | "
Unable to follow the link \"%s\" - " | ^~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘int Fl_Help_View::load(const char*)’ at ../src/Fl_Help_View.cxx:3209:13: /usr/include/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output 106 or more bytes (assuming 2153) into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../src/Fl_Help_View.cxx: In member function ‘int Fl_Help_View::load(const char*)’: ../src/Fl_Help_View.cxx:3160:17: warning: ‘%s’ directive output may be truncated writing up to 2047 bytes into a region of size 931 [-Wformat-truncation=] 3160 | "%s.