X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Richard Dawe Newsgroups: comp.os.msdos.djgpp Subject: Re: problem with incude file - cont. Date: Sat, 08 Nov 2003 11:35:07 +0000 Lines: 36 Message-ID: <3FACD4EB.3C63488D@phekda.freeserve.co.uk> References: <3fac20e0_3 AT mk-nntp-1 DOT news DOT uk DOT worldonline DOT com> NNTP-Posting-Host: 81.76.197.158 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg4.svr.pol.co.uk 1068293230 13230 81.76.197.158 (8 Nov 2003 12:07:10 GMT) NNTP-Posting-Date: 8 Nov 2003 12:07:10 GMT X-Complaints-To: abuse AT theplanet DOT net X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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