Roundcube Community Forum

 

Error in compile C by gcc

Started by smallfish, December 21, 2009, 05:04:44 AM

Previous topic - Next topic

smallfish

Hi all,

I compile my c program and get following result

hrnpfc01.c:1387: stray '\' in program
hrnpfc01.c:1387: parse error before `,'
hrnpfc01.c:1388: stray '\' in program
hrnpfc01.c:1388: parse error before `,'
hrnpfc01.c:1396: stray '\' in program
hrnpfc01.c:1396: parse error before `,'

And the code segments are

#define HRNPC_REPORT_REC_FORMAT_1 \
"Transaction Date : %s"

#define HRNPC_ERROR_REPORT_REC_LINE_2 \
"Staff No. Error Message"

I search old post and someone mention that the problme is due to a space after "\"

But I ensure that there is no space after the "\"

Actually, i compile the program on Suse 6.4 by gcc 2.95

Thanks,

SKaero

RoundCube is not a program its a web application that run on php, you don't need to compile it.