Still more compilation problems with Win32.. I got the recent source from Tor, and that seems to be fine, but now I am having trouble with the "intl" directory..
gettextP.h(51) : error C2054: expected '(' to follow 'inline'
gettextP.h(52) : error C2082: redefinition of formal parameter 'SWAP'
gettextP.h(52) : error C2143: syntax error : missing ';' before 'type'
gettextP.h(52) : error C2085: 'i' : not in formal parameter list
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Source in question is:
#ifdef _LIBC
# include <byteswap.h>
# define SWAP(i) bswap_32 (i)
static nls_uint32 SWAP PARAMS ((nls_uint32 i));
static inline nls_uint32
// Starts choking right here
SWAP (i)
     nls_uint32 i;
  return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24);
All I really want to do is get it compiling so I can fix the batch support.. Looking in the source, it looks as if this is only used if LIBC is not linked in. Would the solution be to include LIBC? If so, how? (I am not very makefile savvy)

Reply via email to