invalid source character: backslash in macro
I am trying to compile some code that has multiline macros.
Code:
/* ***************************************************************** */
#define loop_body(rs,ls,step) \
x = S; /* feedback constant */ \
x ^= A[i+step-t5]; /* end-around feedback */ \
x ^= A[i+step-t0]; /* linear feedback */ \
x ^= ( A[i+step-t1] & A[i+step-t2] ); /* first quadratic term */ \
x ^= ( A[i+step-t3] & A[i+step-t4] ); /* second quadratic term */ \
x ^= (x >> rs); /* right-shift */ \
A[i+step] = x ^ (x << ls); /* left-shift */
/* ***************************************************************** */
Sun compiler gives this error:
cc -c -g -w -o build/Debug/SunStudio_12.1-Solaris-x86/md6_compress.o md6_compress.c
"md6_compress.c", line 218: invalid source character: '\'