compiling troubles

i keep getting the following error with the code segment below when i try to compile the program.

The code is from 'defs.h'

parse error before '('
parse error before ')'
stray '\' in program

this is the code segment and the error is on the second line of the segment

#define DEBUG(fmt) if(traceflag) { \
fprintf(stderr, fmt, arg1); \
.
.
.

I have already posted this before but I still can't figure out what the error is. There are no trailing whitespaces and all im trying to do is compile a file which has 'defs.h' included.

What is the proper way to compile it. Ive tried everything I know and I keep on getting the error.

Please help

Thanks

Don't include a slash at the end of the line. Your define should be somthing like:

#define DEBUG(fmt) if(traceflag) { \
fprintf(stderr, fmt, arg1);
/* rest of your program goes here */