| delorie.com/archives/browse.cgi | search |
| From: | "Jose MF" <josemataf AT hotmail DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: little problem |
| Date: | Sun, 14 Jan 2001 22:34:54 -0000 |
| Organization: | Netvisao NNTPCache |
| Lines: | 26 |
| Message-ID: | <979511670.770140@news> |
| References: | <979430743 DOT 366296 AT news> <c2t26t0u3h36ilr31ksfs5e86ko4fl87iv AT 4ax DOT com> |
| NNTP-Posting-Host: | 213.228.128.15 |
| Mime-Version: | 1.0 |
| X-Trace: | sagan.global-one.pt 979515323 14589 213.228.128.15 (14 Jan 2001 23:35:23 GMT) |
| X-Complaints-To: | abuse AT global-one DOT pt |
| NNTP-Posting-Date: | 14 Jan 2001 23:35:23 GMT |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
| Cache-Post-Path: | news!unknown AT 213 DOT 228 DOT 145 DOT 187 |
| X-Cache: | nntpcache 2.4.0b5 (see http://www.nntpcache.org/) |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Tank u "Jason Green" <news AT jgreen4 DOT fsnet DOT co DOT uk> escreveu na mensagem news:c2t26t0u3h36ilr31ksfs5e86ko4fl87iv AT 4ax DOT com... > "Jose MF" <josemataf AT hotmail DOT com> wrote: > > > I'm making a game and I would want to use allegro libraries to make it, I > > was doing the source code for it, and I was testing it, using normal > > textmode, whitout allegro, it worked. > > But when I insert the - include "allegro.h" -, whitout making any changes, > > the compiler got some errors: > > > - screen.h - > > #include <stdlib.h> > > #include <conio.h> > > > > #include "snake.h" > > > > #ifndef SCREEN_H > > #define SCREEN_H > > This is the problem, allegro.h already defines SCREEN_H. You need to > choose a more unique name.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |