| delorie.com/archives/browse.cgi | search |
| From: | rmg33058 AT pegasus DOT cc DOT ucf DOT edu (Ryan M Gumbs) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Allegro and MFC problem |
| Date: | 9 Jan 2000 13:42:42 GMT |
| Organization: | University of Central Florida |
| Lines: | 28 |
| Message-ID: | <85a38i$n0u$1@news.cc.ucf.edu> |
| NNTP-Posting-Host: | pegasus.cc.ucf.edu |
| X-Trace: | news.cc.ucf.edu 947425362 23582 132.170.240.30 (9 Jan 2000 13:42:42 GMT) |
| X-Complaints-To: | news AT news DOT cc DOT ucf DOT edu |
| NNTP-Posting-Date: | 9 Jan 2000 13:42:42 GMT |
| X-Newsreader: | TIN [version 1.2 PL2] |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
I'm trying to compile and application using the MFC AppWizard under
MSVC 6.0 and no matter where I place the ---#include <allegro.h>--- I keep
getting the following error below. This isn't a djgpp question but this
seems to be THE site for allegro discussion.
How do I make it so that it compiles smoothly.
Thanks to all who reply.
Ryan.
--------------------Configuration: mymfc - Win32 Release-------------------
Compiling...
StdAfx.cpp
c:\allegro\include\allegro.h(69) : error C2371: 'BITMAP' : redefinition;
different basic types
C:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE\wingdi.h(486) : see declaration of 'BITMAP'
c:\allegro\include\allegro.h(130) : warning C4005: 'ASSERT' : macro
redefinition
C:\Program Files\Microsoft Visual
Studio\VC98\MFC\INCLUDE\afx.h(245) : see previous definition of 'ASSERT'
c:\allegro\include\allegro.h(131) : warning C4005: 'TRACE' : macro
redefinition
C:\Program Files\Microsoft Visual
Studio\VC98\MFC\INCLUDE\afx.h(250) : see previous definition of 'TRACE'
Error executing cl.exe.
mymfc.exe - 1 error(s), 2 warning(s)
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |