|
From: Tatsuro M. <tma...@ya...> - 2014-03-17 07:45:35
|
--- On Mon, 2014/3/17, sfeam wrote: > On Monday, 17 March 2014 12:54:39 PM Tatsuro MATSUOKA wrote: > > Hello > > > > I have tried to build the recent cvs tree (2014-03-16) > > using gcc-4.8.2 (MinGW-w64 32bit) > > I have met the following error: > > #******************************************************************** > > /c/MinGW/bin/gcc -c -I/c/Programs/gplibs/include -fno-keep-inline-dllexport -O2 -pipe -I. -I../../src -I../../term/ -D_Windows -DHAVE_CONFIG_H -DPIPES -DWGP_CONSOLE -DCONSOLE_SWITCH_CP -DGNUPLOT_SHARE_DIR=\"share\" -DDEVELOPMENT_VERSION -DUSE_MOUSE=1 -DWIN_IPC -I/c/PROGRA~2/HELPWO~1/include -DHAVE_LIBGD -DHAVE_LIBPNG -DHAVE_LIBGD -DHAVE_GD_H -DHAVE_GD_GIF -DGIF_ANIMATION -DHAVE_GD_PNG -DHAVE_GD_JPEG -DHAVE_GD_TTF -DHAVE_CAIROPDF -DWXWIDGETS -DHAVE_ICONV -MMD -MT 'axis.$(O)' -MF axis.d -o axis.co ../../src/axis.c > > In file included from ../../src/gadgets.h:42:0, > > from ../../src/axis.h:42, > > from ../../src/axis.c:37: > > ../../src/term_api.h:120:5: error: unknown type name 'ulong' > > ulong p_char; /* char used if p_type = PT_CHARACTER */ > > #******************************************************************** > > This error comes from the code newly imported: > > > > ulong p_char; /* char used if p_type = PT_CHARACTER */ > > > > in src/term_api.h. The gcc-4.8.2 (MinGW-w64 32bit) system seems not to have ulong. > > > > What can I do to compile the new code? > > It is probably OK to replace "ulong" with "unsigned long". > > Ethan It was OK. Thanks! Tatsuro |