From: Tatsuro M. <tma...@ya...> - 2018-04-19 23:59:37
|
After commit on 2018-04-18, Cygwin build fail in internal.c gcc -DHAVE_CONFIG_H -I. -I../../gnuplot-gnuplot-main/src -I.. -I../term -I../../gnuplot-gnuplot-main/term -DBINDIR=\"/opt/gp530/bin\" -DX11_DRIVER_DIR=\"/opt/gp530/libexec/gnuplot/5.3\" -DQT_DRIVER_DIR=\"/opt/gp530/libexec/gnuplot/5.3\" -DGNUPLOT_SHARE_DIR=\"/opt/gp530/share/gnuplot/5.3\" -DGNUPLOT_PS_DIR=\"/opt/gp530/share/gnuplot/5.3/PostScript\" -DGNUPLOT_JS_DIR=\"/opt/gp530/share/gnuplot/5.3/js\" -DGNUPLOT_LUA_DIR=\"/opt/gp530/share/gnuplot/5.3/lua\" -DCONTACT=\"gnu...@li...\" -DHELPFILE=\"/opt/gp530/share/gnuplot/5.3/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`.exe\" -DXAPPLRESDIR=\"/etc/X11/app-defaults/\" -I/usr/local/include -I/usr/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT internal.o -MD -MP -MF $depbase.Tpo -c -o internal.o ../../gnuplot-gnuplot-main/src/internal.c &&\ mv -f $depbase.Tpo $depbase.Po ../../gnuplot-gnuplot-main/src/internal.c: In function 'f_sprintf': ../../gnuplot-gnuplot-main/src/internal.c:1652:62: error: '__PRI64_PREFIX' undeclared (first use in this function) char *newformat = gp_alloc(strlen(next_start) + strlen(__PRI64_PREFIX) + 1, NULL); ^~~~~~~~~~~~~~ ../../gnuplot-gnuplot-main/src/internal.c:1652:62: note: each undeclared identifier is reported only once for each function it appears in The same error happened native windows build. On WSL (ubuntu 16.04) no error appears Is this a bug of gnuplot or problem of windows side? Tatsuro |