delorie.com/archives/browse.cgi | search |
From: | Varence <varence_NOguSPAM AT hotmail DOT com> |
Subject: | Re: Allegro,BITMAP *buffer; |
Newsgroups: | comp.os.msdos.djgpp |
Message-ID: | <05a4d7f6.74e084f3@usw-ex0102-016.remarq.com> |
Lines: | 24 |
Bytes: | 986 |
X-Originating-Host: | 203.56.239.200 |
Organization: | http://www.remarq.com: The World's Usenet/Discussions Start Here |
References: | <37E1B735 DOT C564EEB AT gtcom DOT net> |
X-Wren-Trace: | eBcyGhsCRQ9EQQINF1kVGzokDx0GHlYIHlUbGxNDXAdLXwJAVwVRQFVEQ0I= |
Date: | Fri, 17 Sep 1999 11:16:23 -0700 |
NNTP-Posting-Host: | 10.0.2.16 |
X-Complaints-To: | wrenabuse AT remarq DOT com |
X-Trace: | WReNphoon3 937592050 10.0.2.16 (Fri, 17 Sep 1999 11:14:10 PDT) |
NNTP-Posting-Date: | Fri, 17 Sep 1999 11:14:10 PDT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Looks like an error caused by a preprocessor instruction being inserted into the code. Check that none of your project files has some kind of #define for buffer. Also, try declaring BITMAP *buffer at the head of the function, and buffer = create_bitmap(1024,768) after. If you have other instructions prior to this, rather than just declarations, your compiler might be spewing. In article <37E1B735 DOT C564EEB AT gtcom DOT net>, Krogg <krogg DOT no DOT to DOT spam AT gtcom DOT net> wrote: > BITMAP *buffer=create_bitmap(1024,768); > If i comment it out my program will compile and > run fine and if i load some other program that > uses the same code it will compile fine as well.. > Does my program have a hex on it? > the error i get is: > Compiling: XXXX.c > In function `main': > XXXX.c(39) Error: parse error before `*' * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network * The fastest and easiest way to search and participate in Usenet - Free!
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |