|
From: Tatsuro M. <tma...@ya...> - 2011-01-03 11:07:09
|
Hello
I have checked out the cvs source and tried to build it.
2011-01-02 Peter Juhasz <ju...@us...>
* src/internal.c (f_time) docs/gnuplot.doc:
Modified time() so that type of result depends on type of argument
gcc -shared-libgcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/local/bin\"
-DX11_DRIVER_DIR=\"/usr/local/libexec/gnuplot/4.5\"
-DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/4.5/PostScript\"
-DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/4.5/js\"
-DGNUPLOT_LUA_DIR=\"/usr/local/share/gnuplot/4.5/lua\"
-DCONTACT=\"gnu...@li...\"
-DHELPFILE=\"/usr/local/share/gnuplot/4.5/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed
's,x,x,'`.exe\" -DXAPPLRESDIR=\"/etc/X11/app-defaults/\" -I/usr/local/include -D_REENTRANT
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O3
-fomit-frame-pointer -MT internal.o -MD -MP -MF .deps/internal.Tpo -c -o internal.o internal.c
internal.c: In function 'f_time':
internal.c:1452: error: storage size of 'tp' isn't known
make[3]: *** [internal.o] Error 1
On djgpp and MinGW, the builds were successful without errors.
HMMM. On the source 2011-01-01, the cygwin build was carried out without problem. So this error comes
from newly imported code.
f_time(union argument *arg)
{
struct value val, val2;
double time;
struct timeval tp; // <== line 1452
Is timeval a origin of the error
Any suggestions?
Regards
Tatsuro
Any suggestions ?
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/
|