charp start,
| ^~~~~~~~~~~~~~~~~
pngconf.h:287:70: note: in definition of macro ‘PNG_FUNCTION’
287 | # define PNG_FUNCTION(type, name, args, attributes) attributes type name args
| ^~~~
pngpriv.h:1744:1: note: in expansion of macro ‘PNG_INTERNAL_FUNCTION’
1744 | PNG_INTERNAL_FUNCTION(png_charp,png_format_number,(png_const_charp start,
| ^~~~~~~~~~~~~~~~~~~~~
png.c:755:12: note: ‘number_buf’ declared here
755 | char number_buf[5]; /* enough for a four-digit year */
| ^~~~~~~~~~
In function ‘png_convert_to_rfc1123_buffer’,
inlined from ‘png_convert_to_rfc1123’ at png.c:796:11:
pngpriv.h:1749:4: warning: ‘number_buf’ may be used uninitialized [-Wmaybe-uninitialized]
1749 | png_format_number(buffer, buffer + (sizeof buffer), format, number)
png.c:757:69: note: in definition of macro ‘APPEND_STRING’
757 | # define APPEND_STRING(string) pos = png_safecat(out, 29, pos, (string))
| ^~~~~~
png.c:759:24: note: in expansion of macro ‘PNG_FORMAT_NUMBER’
759 | APPEND_STRING(PNG_FORMAT_NUMBER(number_buf, format, (value)))
| ^~~~~~~~~~~~~~~~~
png.c:762:7: note: in expansion of macro ‘APPEND_NUMBER’
762 | APPEND_NUMBER(PNG_NUMBER_FORMAT_u, (unsigned)ptime->day);
| ^~~~~~~~~~~~~
In file included from png.h:335,
from pngpriv.h:386,
from png.c:14:
png.c: In function ‘png_convert_to_rfc1123’:
pngpriv.h:1744:33: note: by argument 1 of type ‘png_const_charp’ {aka ‘const char *’} to ‘png_format_number’ declared here
1744 | PNG_INTERNAL_FUNCTION(png_charp,png_format_number,(png_const_charp start,
| ^~~~~~~~~~~~~~~~~
pngconf.h:287:70: note: in definition of macro ‘PNG_FUNCTION’
287 | # define PNG_FUNCTION(type, name, args, attributes) attributes type name args
| ^~~~
pngpriv.h:1744:1: note: in expansion of macro ‘PNG_INTERNAL_FUNCTION’
1744 | PNG_INTERNAL_FUNCTION(png_charp,png_format_number,(png_const_charp start,
| ^~~~~~~~~~~~~~~~~~~~~
png.c:755:12: note: ‘number_buf’ declared here
755 | char number_buf[5]; /* enough for a four-digit year */
| ^~~~~~~~~~
Archiving ../lib/libfltk_png.a...
make[1]: Leaving directory '/cygdrive/C/Users/HREHMAAN/cygwin-installer/fltk-1.3.8/png'
=== making src ===
make[1]: Entering directory '/cygdrive/C/Users/HREHMAAN/cygwin-installer/fltk-1.3.8/src'
make[1]: Leaving directory '/cygdrive/C/Users/HREHMAAN/cygwin-installer/fltk-1.3.8/src'
=== making fluid ===
make[1]: Entering directory '/cygdrive/C/Users/HREHMAAN/cygwin-installer/fltk-1.3.8/fluid'
Compiling ExternalCodeEditor_WIN32.cxx...
ExternalCodeEditor_WIN32.cxx: In function ‘const char* get_ms_errmsg()’:
ExternalCodeEditor_WIN32.cxx:37:5: error: ‘_snprintf’ was not declared in this scope; did you mean ‘vsnprintf’?
37 | _snprintf(emsg, sizeof(emsg), "Error Code %ld", long(lastErr));
| ^~~~~~~~~
| vsnprintf
ExternalCodeEditor_WIN32.cxx: In function ‘int terminate_app(DWORD, DWORD)’:
ExternalCodeEditor_WIN32.cxx:116:60: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
116 | printf("WARNING: sent WIN_CLOSE, but timeout after %ld msecs.."
| ~~^
| |
| long int
| %d
117 | "trying TerminateProcess\n", msecTimeout);
| ~~~~~~~~~~~
| |
| DWORD {aka unsigned int}
ExternalCodeEditor_WIN32.cxx: In static member function ‘static const char* ExternalCodeEditor::tmpdir_name()’:
ExternalCodeEditor_WIN32.cxx:301:3: error: ‘_snprintf’ was not declared in this scope; did you mean ‘vsnprintf’?
301 | _snprintf(dirname, sizeof(dirname), "%s.fluid-%ld",
| ^~~~~~~~~
| vsnprintf
ExternalCodeEditor_WIN32.cxx: In member function ‘const char* ExternalCodeEditor::tmp_filename()’:
ExternalCodeEditor_WIN32.cxx:345:3: error: ‘_snprintf’ was not declared in this scope; did you mean ‘vsnprintf’?
345 | _snprintf(path, sizeof(path), "%s\\%p%s", tmpdir, (void*)this, ext);
| ^~~~~~~~~
| vsnprintf
ExternalCodeEditor_WIN32.cxx: In member function ‘int ExternalCodeEditor::start_editor(const char*, const char*)’:
ExternalCodeEditor_WIN32.cxx:424:3: error: ‘_snprintf’ was not declared in this scope; did you mean ‘vsnprintf’?
424 | _snprintf(cmd, sizeof(cmd), "%s %s", editor_cmd, filename);
| ^~~~~~~~~
| vsnprintf
make[1]: *** [../makeinclude:164: ExternalCodeEditor_WIN32.o] Error 1
make[1]: Leaving directory '/cygdrive/C/Users/HREHMAAN/cygwin-installer/fltk-1.3.8/fluid'
make: *** [Makefile:22: all] Error 1