delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/06/15:00:18.1

Message-ID: <398DC35E.61CBEDF5@user.rose.com>
From: April <awhite AT user DOT rose DOT com>
X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {TLC;RETAIL} (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: FastGL + djgpp
Lines: 32
Date: Sun, 06 Aug 2000 14:58:22 -0500
NNTP-Posting-Host: 205.189.215.16
X-Trace: client 965587995 205.189.215.16 (Sun, 06 Aug 2000 14:53:15 EDT)
NNTP-Posting-Date: Sun, 06 Aug 2000 14:53:15 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019