int main( void)
{
int a1, b1,c1,d1,e1;
x(a1,b1,c1,d1,e1)
}
I got the error message:
qcc -o t t.c
t.c:10: badly punctuated parameter list in #define' t.ccc: /usr/lib/gcc-lib/ntox86/2.95.2/cpp error 33: In function main’:
t.c:18: parse error before `}’
cc: /usr/lib/gcc-lib/ntox86/2.95.2/cc1 error 33
int main( void)
{
int a1, b1,c1,d1,e1;
x(a1,b1,c1,d1,e1)
}
I got the error message:
qcc -o t t.c
t.c:10: badly punctuated parameter list in #define' t.ccc: /usr/lib/gcc-lib/ntox86/2.95.2/cpp error 33: In function main’:
t.c:18: parse error before `}’
cc: /usr/lib/gcc-lib/ntox86/2.95.2/cc1 error 33
My real problem was (not in this example) an unvisible in the
sequences of
behind the back slashes … so the line continuation didn’t
work and I
got always the message “stray '' in program”
Some problems are trivial .. but hard to find
Thanks Stephan
Armin
“Armin Steinhoff” <a-steinhoff@web_.de> píse v diskusním príspevku
news:3CE10090.4446959B@web_.de…
int main( void)
{
int a1, b1,c1,d1,e1;
x(a1,b1,c1,d1,e1)
}
I got the error message:
qcc -o t t.c
t.c:10: badly punctuated parameter list in #define' t.ccc: /usr/lib/gcc-lib/ntox86/2.95.2/cpp error 33: In function main’:
t.c:18: parse error before `}’
cc: /usr/lib/gcc-lib/ntox86/2.95.2/cc1 error 33
Usually I try preprocessing the files to see what I get. In this case it
was the preprocessor that was choking which gave a little clue. I missed
this error the first few times too until I saw that it was the preprocessor
erroring. Tricky one that. Almost as good as the parse error when you’ve
got a ‘:’ instead of a ‘;’ (and a small font
Kris
“Armin Steinhoff” <a-steinhoff@web_.de> wrote in message
news:3CE11F3D.15ACF711@web_.de…
My real problem was (not in this example) an unvisible in the
sequences of
CR> behind the back slashes > > … so the line continuation didn’t
work and I
got always the message “stray '' in program”
Some problems are trivial .. but hard to find >
Thanks Stephan
Armin
“Armin Steinhoff” <a-steinhoff@web_.de> píse v diskusním príspevku
news:3CE10090.4446959B@web_.de…
int main( void)
{
int a1, b1,c1,d1,e1;
x(a1,b1,c1,d1,e1)
}
I got the error message:
qcc -o t t.c
t.c:10: badly punctuated parameter list in #define' t.ccc: /usr/lib/gcc-lib/ntox86/2.95.2/cpp error 33: In function main’:
t.c:18: parse error before `}’
cc: /usr/lib/gcc-lib/ntox86/2.95.2/cc1 error 33