|
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: https://www.fltk.org/str.php?L3529
Version: 1.4-current
Attached file "warnings.txt"...
Link: https://www.fltk.org/str.php?L3529
Version: 1.4-current FLTK build log (Linux, gcc 8.3) with warnings. Lines w/o warnings removed.
Files with compiler warnings:
src/Fl_File_Chooser2.cxx...
src/Fl_Help_View.cxx...
src/Fl_x.cxx...
src/Fl_File_Icon2.cxx...
fluid/template_panel.cxx...
fluid/undo.cxx...
test/colbrowser.cxx...
test/file_chooser.cxx...
$ date
Thu Aug 29 13:53:00 CEST 2019
$ gcc-8 --version
gcc-8 (Ubuntu 8.3.0-6ubuntu1~18.04.1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ CC=gcc-8 CXX=g++-8 make
=== making src ===
Compiling Fl_File_Chooser2.cxx...
Fl_File_Chooser2.cxx: In member function â??const char* Fl_File_Chooser::value(int)â??:
Fl_File_Chooser2.cxx:1404:41: warning: â??__builtin___snprintf_chkâ?? output may be truncated before the last format character [-Wformat-truncation=]
snprintf(pathname, sizeof(pathname), "%s/%s", directory_, name);
^~~~~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from ../FL/Fl_File_Chooser.H:30,
from Fl_File_Chooser2.cxx:305:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output 2 or more bytes (assuming 2049) into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fl_File_Chooser2.cxx: In member function â??void Fl_File_Chooser::fileListCB()â??:
Fl_File_Chooser2.cxx:639:42: warning: â??__builtin___snprintf_chkâ?? output may be truncated before the last format character [-Wformat-truncation=]
snprintf(pathname, sizeof(pathname), "%s/%s", directory_, filename);
^~~~~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from ../FL/Fl_File_Chooser.H:30,
from Fl_File_Chooser2.cxx:305:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output 2 or more bytes (assuming 2049) into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fl_File_Chooser2.cxx: In member function â??void Fl_File_Chooser::newdir()â??:
Fl_File_Chooser2.cxx:980:42: warning: â??__builtin___snprintf_chkâ?? output may be truncated before the last format character [-Wformat-truncation=]
snprintf(pathname, sizeof(pathname), "%s/%s", directory_, dir);
^~~~~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from ../FL/Fl_File_Chooser.H:30,
from Fl_File_Chooser2.cxx:305:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output 2 or more bytes (assuming 2049) into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fl_File_Chooser2.cxx: In member function â??void Fl_File_Chooser::fileNameCB()â??:
Fl_File_Chooser2.cxx:814:39: warning: â??__builtin___snprintf_chkâ?? output may be truncated before the last format character [-Wformat-truncation=]
snprintf(tempname, sizeof(tempname), "%s/%s", directory_, filename);
^~~~~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from ../FL/Fl_File_Chooser.H:30,
from Fl_File_Chooser2.cxx:305:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output 2 or more bytes (assuming 2049) into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling Fl_Help_View.cxx...
Fl_Help_View.cxx: In member function â??Fl_Shared_Image* Fl_Help_View::get_image(const char*, int, int)â??:
Fl_Help_View.cxx:2793:36: warning: â??__builtin___snprintf_chkâ?? output may be truncated before the last format character [-Wformat-truncation=]
snprintf(temp, sizeof(temp), "%s/%s", directory_, name);
^~~~~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from ../FL/Fl_Help_View.H:30,
from Fl_Help_View.cxx:52:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output 2 or more bytes (assuming 2049) into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fl_Help_View.cxx:2802:36: warning: â??%sâ?? directive output may be truncated writing up to 2047 bytes into a region of size 2043 [-Wformat-truncation=]
snprintf(temp, sizeof(temp), "file:%s/%s", dir, name);
^~~~~~~~~~~~ ~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from ../FL/Fl_Help_View.H:30,
from Fl_Help_View.cxx:52:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output 7 or more bytes (assuming 2054) into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fl_Help_View.cxx:2799:53: warning: â??__builtin___snprintf_chkâ?? output may be truncated before the last format character [-Wformat-truncation=]
if (directory_[0]) snprintf(temp, sizeof(temp), "%s/%s", directory_, name);
^~~~~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from ../FL/Fl_Help_View.H:30,
from Fl_Help_View.cxx:52:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output 2 or more bytes (assuming 2049) into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fl_Help_View.cxx: In member function â??int Fl_Help_View::load(const char*)â??:
Fl_Help_View.cxx:3349:9: warning: â??%sâ?? directive output may be truncated writing up to 2047 bytes into a region of size 931 [-Wformat-truncation=]
"<HTML><HEAD><TITLE>Error</TITLE></HEAD>"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"<BODY><H1>Error</H1>"
~~~~~~~~~~~~~~~~~~~~~~
"<P>Unable to follow the link \"%s\" - "
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"%s.</P></BODY>",
~~~~~~~~~~~~~~~~
f, urimsg);
~~~~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from ../FL/Fl_Help_View.H:30,
from Fl_Help_View.cxx:52:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output 106 or more bytes (assuming 2153) into a destination of size 1024
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fl_Help_View.cxx: In member function â??void Fl_Help_View::follow_link(Fl_Help_Link*)â??:
Fl_Help_View.cxx:2900:31: warning: â??%sâ?? directive output may be truncated writing up to 2047 bytes into a region of size 2043 [-Wformat-truncation=]
snprintf(temp, sizeof(temp), "file:%s/%s", dir, linkp->filename);
^~~~~~~~~~~~ ~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from ../FL/Fl_Help_View.H:30,
from Fl_Help_View.cxx:52:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output between 7 and 2245 bytes into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fl_Help_View.cxx:2896:31: warning: â??%sâ?? directive output may be truncated writing up to 191 bytes into a region of size between 0 and 2047 [-Wformat-truncation=]
snprintf(temp, sizeof(temp), "%s/%s", directory_, linkp->filename);
^~~~~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from ../FL/Fl_Help_View.H:30,
from Fl_Help_View.cxx:52:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output between 2 and 2240 bytes into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fl_Help_View.cxx:2891:31: warning: â??%sâ?? directive output may be truncated writing up to 191 bytes into a region of size between 0 and 2047 [-Wformat-truncation=]
snprintf(temp, sizeof(temp), "%s/%s", directory_, linkp->filename);
^~~~~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from ../FL/Fl_Help_View.H:30,
from Fl_Help_View.cxx:52:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output between 2 and 2240 bytes into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling Fl_x.cxx...
Fl_x.cxx: In function â??KeySym fl_KeycodeToKeysym(Display*, KeyCode, unsigned int)â??:
Fl_x.cxx:1262:34: warning: â??KeySym XKeycodeToKeysym(Display*, KeyCode, int)â?? is deprecated [-Wdeprecated-declarations]
return XKeycodeToKeysym(d, k, i);
^
In file included from ../FL/platform.H:53,
from Fl_x.cxx:27:
/usr/include/X11/Xlib.h:1687:15: note: declared here
extern KeySym XKeycodeToKeysym(
^~~~~~~~~~~~~~~~
Fl_x.cxx:1262:34: warning: â??KeySym XKeycodeToKeysym(Display*, KeyCode, int)â?? is deprecated [-Wdeprecated-declarations]
return XKeycodeToKeysym(d, k, i);
^
In file included from ../FL/platform.H:53,
from Fl_x.cxx:27:
/usr/include/X11/Xlib.h:1687:15: note: declared here
extern KeySym XKeycodeToKeysym(
^~~~~~~~~~~~~~~~
Compiling Fl_File_Icon2.cxx...
Fl_File_Icon2.cxx: In function â??void load_kde_icons(const char*, const char*)â??:
Fl_File_Icon2.cxx:922:11: warning: â??%sâ?? directive output may be truncated writing up to 2047 bytes into a region of size between 1024 and 2047 [-Wformat-truncation=]
"%s/%s", tmp, iconfilename);
^~~~~~~ ~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862,
from Fl_File_Icon2.cxx:37:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output between 2 and 3072 bytes into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fl_File_Icon2.cxx:913:13: warning: â??%sâ?? directive output may be truncated writing up to 2047 bytes into a region of size 2046 [-Wformat-truncation=]
"%s/%s/%s.png", icondir, paths[i], iconfilename);
^~~~~~~~~~~~~~ ~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862,
from Fl_File_Icon2.cxx:37:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output 7 or more bytes (assuming 2054) into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fl_File_Icon2.cxx: In static member function â??static void Fl_File_Icon::load_system_icons()â??:
Fl_File_Icon2.cxx:678:46: warning: â??/16x16/mimetypes/unknown.pngâ?? directive output may be truncated writing 28 bytes into a region of size between 1 and 2048 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s/16x16/mimetypes/unknown.png",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862,
from Fl_File_Icon2.cxx:37:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output between 29 and 2076 bytes into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fl_File_Icon2.cxx:689:44: warning: â??/16x16/filesystems/link.pngâ?? directive output may be truncated writing 27 bytes into a region of size between 1 and 2048 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s/16x16/filesystems/link.png",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862,
from Fl_File_Icon2.cxx:37:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output between 28 and 2075 bytes into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=== making fluid ===
Compiling template_panel.cxx...
template_panel.cxx: In function â??void template_load()â??:
template_panel.cxx:261:44: warning: â??%sâ?? directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s/%s", path, files[i]->d_name);
^~~~~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from template_panel.h:23,
from template_panel.cxx:21:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output between 2 and 1280 bytes into a destination of size 1024
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling undo.cxx...
undo.cxx: In function â??char* undo_filename(int, char*, int)â??:
undo.cxx:64:26: warning: â??undo_â?? directive output may be truncated writing 5 bytes into a region of size between 1 and 2048 [-Wformat-truncation=]
snprintf(buf, bufsize, "%sundo_%d_%d.fl", undo_path, getpid(), level);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from undo.cxx:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:35: note: â??__builtin___snprintf_chkâ?? output between 12 and 2079 bytes into a destination of size 2048
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linking fluid...
=== making test ===
Compiling colbrowser.cxx...
colbrowser.cxx: In function â??int load_browser(char*)â??:
colbrowser.cxx:171:20: warning: â??%sâ?? directive writing up to 255 bytes into a region of size between 218 and 242 [-Wformat-overflow=]
sprintf(buf, "(%3d %3d %3d) %s", r, g, b, name);
^~~~~~~~~~~~~~~~~~ ~~~~
In file included from /usr/include/stdio.h:862,
from ../FL/fl_utf8.h:34,
from ../FL/Fl.H:33,
from colbrowser.cxx:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:34: note: â??__builtin___sprintf_chkâ?? output between 15 and 294 bytes into a destination of size 256
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linking colbrowser...
Compiling file_chooser.cxx...
file_chooser.cxx: In function â??Fl_Image* pdf_check(const char*, uchar*, int)â??:
file_chooser.cxx:299:11: warning: â??%sâ?? directive writing up to 2047 bytes into a region of size 1956 [-Wformat-overflow=]
"gs -r100 -dFIXED -sDEVICE=ppmraw -dQUIET -dNOPAUSE -dBATCH "
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"-sstdout=\"%%stderr\" -sOUTPUTFILE=\'%s\' "
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"-dFirstPage=1 -dLastPage=1 \'%s\' 2>/dev/null", preview, name);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~
In file included from /usr/include/stdio.h:862,
from file_chooser.cxx:35:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:34: note: â??__builtin___sprintf_chkâ?? output 136 or more bytes (assuming 2183) into a destination of size 2048
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
file_chooser.cxx: In function â??Fl_Image* ps_check(const char*, uchar*, int)â??:
file_chooser.cxx:362:11: warning: â??%sâ?? directive writing up to 2047 bytes into a region of size 1956 [-Wformat-overflow=]
"gs -r100 -dFIXED -sDEVICE=ppmraw -dQUIET -dNOPAUSE -dBATCH "
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"-sstdout=\"%%stderr\" -sOUTPUTFILE=\'%s\' \'%s\' 2>/dev/null",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
preview, outname);
~~~~~~~
In file included from /usr/include/stdio.h:862,
from file_chooser.cxx:35:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:34: note: â??__builtin___sprintf_chkâ?? output between 109 and 4203 bytes into a destination of size 2048
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linking file_chooser...
=== making documentation ===
End of build log.
[ Direct Link to Message ] | |