| this macro code in namedins.c does not compile on Windows (MSVC):
#define sCmp(x,y) ( { \
register int tmp = 0; \
while ((((unsigned char*) (x))[tmp] == ((unsigned char*) (y))[tmp]) && \
(((unsigned char*) (x))[tmp] != (unsigned char) 0) && \
(((unsigned char*) (y))[tmp] != (unsigned char) 0)) \
tmp++; \
(((unsigned char*) (x))[tmp] == ((unsigned char*) (y))[tmp] ? 0 : 1); \
} )
D:csound5\Engine\namedins.c(912) : error C2059: syntax error : '{'
D:\csound5\Engine\namedins.c(912) : error C2065: 'tmp' : undeclared identifier
D:\csound5\Engine\namedins.c(912) : error C2059: syntax error : ')'
D:\csound5\Engine\namedins.c(917) : error C2059: syntax error : 'if'
D:\csound5\Engine\namedins.c(919) : error C2100: illegal indirection
D:\csound5\Engine\namedins.c(919) : error C2223: left of '->nxt' must point
to struct/union
D:\csound5\Engine\namedins.c(920) : error C2059: syntax error : '}'
D:\csound5\Engine\namedins.c(921) : error C2143: syntax error : missing '{'
before '->'
D:\csound5\Engine\namedins.c(921) : error C2059: syntax error : '->'
D:\csound5\Engine\namedins.c(923) : error C2059: syntax error : 'return'
D:\csound5\Engine\namedins.c(924) : error C2059: syntax error : '}'
D:\csound5\Engine\namedins.c(977) : error C2059: syntax error : '{'
D:\csound5\Engine\namedins.c(977) : error C2059: syntax error : ')'
D:\csound5\Engine\namedins.c(977) : error C2059: syntax error : '!='
D:\csound5\Engine\namedins.c(977) : error C2059: syntax error : ')'
D:\csound5\Engine\namedins.c(979) : error C2059: syntax error : 'return'
D:\csound5\Engine\namedins.c(980) : error C2059: syntax error : '}'
I am trying to build a MSVC project again, with the new csound5 sources.
Help much appreciated.
Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |