[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bswap16{32} problem




> In file included from bswap.c:37:
> roken.h:149: error: expected declaration specifiers or '...' before  
> '(' token
> roken.h:149: error: expected ')' before '?' token
> roken.h:151: error: expected declaration specifiers or '...' before  
> '(' token
> roken.h:151: error: expected ')' before '?' token
> bswap.c:44: error: expected declaration specifiers or '...' before  
> '(' token
> bswap.c:44: error: expected ')' before '?' token

can you look at roken.h and see whats wrong there.

If you can't find any problems, can you can also send me the output of

gcc -DHAVE_CONFIG_H -I. -I. -I../../include -DBUILD_ROKEN_LIB - 
DBUILD_ROKEN_LIB                     -Wall -Wmissing-prototypes - 
Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested- 
externs -DINET6 -g -O2 -c bswap.c  -fPIC -DPIC -E

when run in lib/roken

Love