From: "Vicious Wanker" Newsgroups: comp.os.msdos.djgpp Subject: Vs: FastGL + djgpp Date: Mon, 7 Aug 2000 13:47:51 +0300 Organization: Clinet Internet Services Lines: 39 Message-ID: <8mm3ng$cjq$2@news.clinet.fi> References: <398DC35E DOT 61CBEDF5 AT user DOT rose DOT com> NNTP-Posting-Host: mb-u04ip020.mbnet.fi X-Trace: news.clinet.fi 965644848 12922 194.100.163.209 (7 Aug 2000 10:40:48 GMT) X-Complaints-To: abuse AT clinet DOT fi NNTP-Posting-Date: 7 Aug 2000 10:40:48 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com u have to April kirjoitti viestissä:398DC35E DOT 61CBEDF5 AT user DOT rose DOT com... > djgpp 2.95.2 > fastgl 2.96 > > when I compile the source, the header file base.h reports: > > In file included from fastgl.h:28, > from fastgl.cc:41: > base.h:898: type specifier omitted for parameter > base.h:898: parse error before `*' > make.exe: *** [fastgl.o] Error 1 > > I am by far not a c++ expert, so any opinions on this line: > > > class DrawBuffer > { > ... > /* line 899 */ > int bitblit(int xdst, int ydst, int xsrc, int ysrc, int ww, int > hh, DrawBuffer *src, int opcia=BITBLIT_COPY); > } > > I have tried: > > replacing '*' with a '&' > adding a forward declaration 'class DrawBuffer;' before the class > definition > > to no avail. > > A. >