Mail Archives: djgpp/2003/11/08/07:15:06
Hello.
lutnicx wrote:
> I don't really know what you mean by shortening the code to view the problem
> because, first, I don't know what causes the problem, and secondly I don't
> think is my code (it is not mine really, from the book). I can send you it
> (about 120 lines without comments). But again let me be precise what
> messages are printed by compiler.
Books make mistakes too. A co-worker told me the other day that Bjarne
Stroustrop's C++ book has only 6 errors per page, which is pretty good for a
textbook.
> No errors in my code apart of lines like:
>
> c:/djgpp/include/stdio.h:102: error: parse error before "va_list"
>
> I looked at the stdio.h and this is one of the lines:
>
> int vfprintf(FILE *_stream, const char *_format, va_list _ap);
>
> Compiler prints parse error also about these lines: 103, 104, 126, 138, 139,
> 140.
...and the errors are?
> I hope this will show more of the problem.
Please post the code.
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
"You can't evaluate a man by logic alone." -- McCoy, "I, Mudd", Star Trek
- Raw text -