c - Why do I keep getting expected identifier or '('? -
i new ready learn.
can tell me why expected identifier or '(' keep appearing following code?
1 /* $id: simple_pjsua.c 3553 2011-05-05 06:14:19z nanang $ */ 2 /* 3 * the full code can found in following link: http://www.pjsip.org/pjsip/docs/html/page_pjsip_sample_simple_pjsuaua_c.htm
it's because didn't delete line numbers.
the line numbers on web page (alleged) convenience of reader. they're not valid c syntax.
btw, have been useful show full exact error message. got:
error: expected identifier or ‘(’ before numeric constant the "numeric constant" have been big clue.
Comments
Post a Comment