Author Topic: Error in compile C by gcc  (Read 2233 times)

Offline smallfish

  • Newbie
  • *
  • Posts: 2
Error in compile C by gcc
« on: December 21, 2009, 05:04:44 AM »
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,

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Error in compile C by gcc
« Reply #1 on: December 21, 2009, 05:08:07 AM »
RoundCube is not a program its a web application that run on php, you don't need to compile it.