Thanks. What compiler and OS version was this on? 


> On May 22, 2015, at 4:57 AM, Phil Rosenberg <p.d.rosenb...@gmail.com> wrote:
> 
> Hi Jim
> 
> The errors are below. These are for all of the plplot library, so
> there are a few warnings about implicit casts from other files in
> there too, but most of it is plbuf.c and plmetafile.c related
> 
> Phil
> 
> 9>------ Build started: Project: plplot, Configuration: Debug x64 ------
> 
> 9> Building Custom Rule D:/usr/local/src/plplot-plplot/src/CMakeLists.txt
> 
> 9> CMake does not need to re-run because
> D:\usr\local\src\plplot-plplot\build\Visual Studio 11
> 64sd\src\CMakeFiles\generate.stamp is up-to-date.
> 
> 9> mem.c
> 
> 9> null.c
> 
> 9> ps.c
> 
> 9> svg.c
> 
> 9> xfig.c
> 
> 9> pdfutils.c
> 
> 9> plaffine.c
> 
> 9> plarc.c
> 
> 9> plargs.c
> 
> 9> plbox.c
> 
> 9> plbuf.c
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(377): warning C4267: '='
> : conversion from 'size_t' to 'unsigned short', possible loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(393): warning C4101:
> 'fci' : unreferenced local variable
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1068): warning C4244:
> 'function' : conversion from 'PLFLT' to 'PLINT', possible loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1325): error C2065:
> 'uint8_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1325): error C2059:
> syntax error : ')'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1328): error C2065:
> 'uint16_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1349): error C2065:
> 'uint8_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1349): error C2059:
> syntax error : ')'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1352): error C2065:
> 'uint16_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1368): error C2065:
> 'uint8_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1368): error C2059:
> syntax error : ')'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1371): error C2065:
> 'uint16_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1424): error C2065:
> 'uint8_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1424): error C2059:
> syntax error : ')'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1429): error C2065:
> 'uint16_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1442): error C2065:
> 'uint8_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1442): error C2059:
> syntax error : ')'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1445): error C2065:
> 'uint16_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1470): error C2016: C
> requires that a struct or union has at least one member
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1470): error C2061:
> syntax error : identifier 'size_t'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1476): error C2059:
> syntax error : '}'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1495): error C2027: use
> of undefined type '_state'
> 
> 9> D:\usr\local\src\plplot-plplot\src\plbuf.c(1469) : see declaration
> of '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1505): error C2037: left
> of 'size' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1515): error C2037: left
> of 'valid' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1519): error C2037: left
> of 'size' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1531): error C2037: left
> of 'size' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1540): error C2037: left
> of 'valid' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1543): error C2036:
> '_state *' : unknown size
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1547): error C2037: left
> of 'plbuf_buffer_size' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1548): error C2037: left
> of 'plbuf_top' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1549): error C2037: left
> of 'plbuf_readpos' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1553): error C2037: left
> of 'plbuf_buffer' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1559): error C2037: left
> of 'plbuf_buffer' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1559): warning C4022:
> 'memcpy' : pointer mismatch for actual parameter 2
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1559): error C2198:
> 'memcpy' : too few arguments for call
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1569): error C2037: left
> of 'valid' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1583): error C2037: left
> of 'plbuf_buffer' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1584): error C2037: left
> of 'plbuf_buffer_size' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1585): error C2037: left
> of 'plbuf_top' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1586): error C2037: left
> of 'plbuf_readpos' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1615): error C2037: left
> of 'valid' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1621): error C2027: use
> of undefined type '_state'
> 
> 9> D:\usr\local\src\plplot-plplot\src\plbuf.c(1469) : see declaration
> of '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1630): error C2037: left
> of 'size' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1631): error C2037: left
> of 'valid' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1634): error C2037: left
> of 'plbuf_buffer' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1635): error C2037: left
> of 'plbuf_buffer_size' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1636): error C2037: left
> of 'plbuf_top' specifies undefined struct/union '_state'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plbuf.c(1637): error C2037: left
> of 'plbuf_readpos' specifies undefined struct/union '_state'
> 
> 9> plcont.c
> 
> 9> plcore.c
> 
> 9>D:\usr\local\src\plplot-plplot\src\plcore.c(2872): warning C4267:
> '=' : conversion from 'size_t' to 'int', possible loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plcore.c(2873): warning C4267:
> '=' : conversion from 'size_t' to 'int', possible loss of data
> 
> 9> plctrl.c
> 
> 9>D:\usr\local\src\plplot-plplot\src\plctrl.c(2670): warning C4267:
> 'function' : conversion from 'size_t' to 'int', possible loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plctrl.c(2675): warning C4267:
> 'function' : conversion from 'size_t' to 'int', possible loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plctrl.c(2717): warning C4267:
> 'function' : conversion from 'size_t' to 'int', possible loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plctrl.c(3041): warning C4013:
> 'vsscanf' undefined; assuming extern returning int
> 
> 9> plcvt.c
> 
> 9> pldtik.c
> 
> 9> plf2ops.c
> 
> 9> plfill.c
> 
> 9> plgradient.c
> 
> 9> plgridd.c
> 
> 9>d:\usr\local\src\plplot-plplot\src\../lib/csa/nan.h(53): warning
> C4005: 'isnan' : macro redefinition
> 
> 9> D:\usr\local\src\plplot-plplot\include\plplotP.h(265) : see
> previous definition of 'isnan'
> 
> 9> Generating Code...
> 
> 9> Compiling...
> 
> 9> plhist.c
> 
> 9> plimage.c
> 
> 9> pllegend.c
> 
> 9> plline.c
> 
> 9> plmem.c
> 
> 9> plmetafile.c
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(136): error C2146:
> syntax error : missing ')' before identifier 'x'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(136): error C2061:
> syntax error : identifier 'x'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(136): error C2059:
> syntax error : ';'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(136): error C2059:
> syntax error : ','
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(137): error C2059:
> syntax error : ')'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(186): error C2065:
> 'uint8_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(186): error C2059:
> syntax error : ')'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(189): warning C4244:
> '=' : conversion from 'unsigned short' to 'unsigned char', possible
> loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(226): error C2065:
> 'uint8_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(226): error C2059:
> syntax error : ')'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(229): warning C4244:
> '=' : conversion from 'unsigned long' to 'unsigned char', possible
> loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(232): warning C4244:
> '=' : conversion from 'unsigned long' to 'unsigned short', possible
> loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(235): warning C4244:
> '=' : conversion from 'unsigned long' to 'short', possible loss of
> data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(266): error C2065:
> 'uint8_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(266): error C2059:
> syntax error : ')'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(269): warning C4244:
> '=' : conversion from 'float' to 'unsigned char', possible loss of
> data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(272): warning C4244:
> '=' : conversion from 'float' to 'unsigned short', possible loss of
> data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(275): warning C4244:
> '=' : conversion from 'float' to 'short', possible loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(278): warning C4244:
> '=' : conversion from 'float' to 'PLINT', possible loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(284): warning C4244:
> '=' : conversion from 'float' to 'unsigned long', possible loss of
> data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(301): error C2065:
> 'uint8_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(301): error C2146:
> syntax error : missing ';' before identifier 'b'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(301): error C2065:
> 'b' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(302): error C2143:
> syntax error : missing ';' before 'type'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(303): error C2143:
> syntax error : missing ';' before 'type'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(304): error C2143:
> syntax error : missing ';' before 'type'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(305): error C2143:
> syntax error : missing ';' before 'type'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(306): error C2143:
> syntax error : missing ';' before 'type'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(311): error C2065:
> 'pdf_rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(312): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(316): error C2065:
> 'pdf_rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(316): error C2065:
> 'b' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(316): warning C4133:
> 'function' : incompatible types - from 'int *' to 'unsigned char *'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(317): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(317): warning C4013:
> 'set_ubyte_plp_value' undefined; assuming extern returning int
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(317): error C2065:
> 'b' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(321): error C2065:
> 'pdf_rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(321): error C2065:
> 'x' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(321): warning C4133:
> 'function' : incompatible types - from 'int *' to 'unsigned short *'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(322): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(322): error C2065:
> 'x' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(326): error C2065:
> 'pdf_rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(326): error C2065:
> 'l' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(327): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(327): error C2065:
> 'l' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(331): error C2065:
> 'pdf_rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(331): error C2065:
> 'f' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(331): warning C4133:
> 'function' : incompatible types - from 'int *' to 'float *'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(332): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(332): error C2065:
> 'f' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(332): warning C4244:
> 'function' : conversion from 'int' to 'float', possible loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(337): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(341): error C2065:
> 'pdf_rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(342): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(354): warning C4267:
> 'function' : conversion from 'size_t' to 'int', possible loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(431): error C2143:
> syntax error : missing ')' before '*'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(431): error C2081:
> 'uint8_t' : name in formal parameter list illegal
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(431): error C2143:
> syntax error : missing '{' before '*'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(431): error C2059:
> syntax error : ')'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(432): error C2054:
> expected '(' to follow 'dest'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(518): warning C4244:
> '=' : conversion from 'PLFLT' to 'short', possible loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(519): warning C4244:
> '=' : conversion from 'PLFLT' to 'short', possible loss of data
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(611): error C2065:
> 'uint8_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(611): error C2146:
> syntax error : missing ';' before identifier 'op'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(611): error C2065:
> 'op' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(612): error C2143:
> syntax error : missing ';' before 'type'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(615): error C2065:
> 'op' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(615): warning C4133:
> 'function' : incompatible types - from 'int *' to 'unsigned char *'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(618): error C2065:
> 'op' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(627): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(628): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(629): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(639): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(640): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(641): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(643): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(644): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(645): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(658): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(678): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(679): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(680): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(681): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(682): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(683): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(685): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(686): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(687): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(688): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(689): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(690): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(691): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(692): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(693): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(694): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(695): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(704): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(720): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(730): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(743): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(747): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(758): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(765): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(776): error C2065:
> 'uint8_t' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(776): error C2146:
> syntax error : missing ';' before identifier 'op'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(776): error C2065:
> 'op' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(777): error C2143:
> syntax error : missing ';' before 'type'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(780): error C2065:
> 'op' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(780): warning C4133:
> 'function' : incompatible types - from 'int *' to 'unsigned char *'
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(783): error C2065:
> 'op' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(788): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(789): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(790): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(802): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(803): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(804): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(807): error C2065:
> 'op' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(815): error C2065:
> 'op' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(828): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(829): error C2065:
> 'rc' : undeclared identifier
> 
> 9>D:\usr\local\src\plplot-plplot\src\plmetafile.c(829): fatal error
> C1003: error count exceeds 100; stopping compilation
> 
> 9> plot3d.c
> 
> 9> plpage.c
> 
> 9> plsdef.c
> 
> 9> plshade.c
> 
> 9> plstdio.c
> 
> 9> plstripc.c
> 
> 9> plsym.c
> 
> 9> pltick.c
> 
> 9> pltime.c
> 
> 9> plvect.c
> 
> 9> plvpor.c
> 
> 9> plwind.c
> 
>> On 21 May 2015 at 23:59, Jim Dishaw <j...@dishaw.org> wrote:
>> Please send me the errors. I'm getting a windows build machine going, so I 
>> will take a look at that c
>> 
>> 
>> 
>>> On May 21, 2015, at 6:51 PM, Phil Rosenberg <p.d.rosenb...@gmail.com> wrote:
>>> 
>>> Hi Alan
>>> I just did a git pull and tried to build PLPlot this evening and got a
>>> massive number of build errors.
>>> 
>>> Some are related to 64 bit/32 bit conflicts which I have had problems
>>> with in the past and can't remember how I resolved them.
>>> 
>>> Another one is below
>>> 
>>> 7> Building Custom Rule 
>>> D:/usr/local/src/plplot-plplot/include/CMakeLists.txt
>>> 
>>> 7> CMake does not need to re-run because
>>> D:\usr\local\src\plplot-plplot\build\Visual Studio 11
>>> 64sd\include\CMakeFiles\generate.stamp is up-to-date.
>>> 
>>> 7> Generating plhershey-unicode.h
>>> 
>>> 7> 'Debug\plhershey-unicode-gen.exe' is not recognized as an internal
>>> or external command,
>>> 
>>> 7> operable program or batch file.
>>> 
>>> 7>C:\Program Files
>>> (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5):
>>> error MSB6006: "cmd.exe" exited with code 9009.
>>> 
>>> This seems odd because I don't think plhershey-unicode-gen.exe is
>>> built on Windows. Has something changed here?
>>> 
>>> Also I got a large number of compile errors from plbuf.c and plmeta.c
>>> 
>>> Jim are you still working on this? I can send you a list of errors if you 
>>> like?
>>> 
>>> Once I get building again I will look into the issue you raised.
>>> 
>>> Phil
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> On 18 May 2015 at 20:46, Alan W. Irwin <ir...@beluga.phys.uvic.ca> wrote:
>>>> Hi Phil:
>>>> 
>>>> To avoid segfaults when plschr is called before plinit (see
>>>> <https://sourceforge.net/p/plplot/bugs/162/>) it is essential to
>>>> protect the plP_state( PLSTATE_CHR ); call you introduced into plschr
>>>> with a level check.  At the same time (commit id 1424994f) I also
>>>> implemented similar level checks to the plP_state( PLSTATE_SYM ); call
>>>> you introduced to plssym and the plP_state( PLSTATE_FILL ); call where
>>>> you removed the existing level check when you moved that call to the
>>>> spat routine.  (I now realize that additional spat level check is
>>>> redundant since spat is only called from functions which already do
>>>> level checks, but I think it is best to leave it in for code clarity.)
>>>> 
>>>> My question for you is did you forget the level check for
>>>> the plP_state calls in plschr and plssym by design or
>>>> in error?
>>>> 
>>>> If by design, then we have to figure out some other way to provide
>>>> users with a soft landing (not a segfault) when they call plschr or
>>>> plssym before plinit.
>>>> 
>>>> If in error, then you should probably review any other plP_state
>>>> changes you made during your wxwidgets/plbuf changes to make sure the
>>>> plP_state calls are protected by level checks in all cases.
>>>> 
>>>> Alan
>>>> __________________________
>>>> Alan W. Irwin
>>>> 
>>>> Astronomical research affiliation with Department of Physics and Astronomy,
>>>> University of Victoria (astrowww.phys.uvic.ca).
>>>> 
>>>> Programming affiliations with the FreeEOS equation-of-state
>>>> implementation for stellar interiors (freeeos.sf.net); the Time
>>>> Ephemerides project (timeephem.sf.net); PLplot scientific plotting
>>>> software package (plplot.sf.net); the libLASi project
>>>> (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
>>>> and the Linux Brochure Project (lbproject.sf.net).
>>>> __________________________
>>>> 
>>>> Linux-powered Science
>>>> __________________________
>>> 
>>> ------------------------------------------------------------------------------
>>> One dashboard for servers and applications across Physical-Virtual-Cloud
>>> Widest out-of-the-box monitoring support with 50+ applications
>>> Performance metrics, stats and reports that give you Actionable Insights
>>> Deep dive visibility with transaction tracing using APM Insight.
>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>> _______________________________________________
>>> Plplot-devel mailing list
>>> Plplot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/plplot-devel

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to