new compile prob from me:P

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
252-rer
Peon
Peon
Posts: 14
Joined: 13 Feb 2005, 11:50

new compile prob from me:P

Post by 252-rer »

This time its the map editor that wont compile:P
When i first tried it yelled at me for pthread so i got it off planetmirror.
Now there is some kind of conflict involving bitmaps from allegro's system.h and wingdi.h O.o

Compiler: Default compiler
Building Makefile: "C:\suprtmw\Makefile.win"
Executing make...
make.exe -f "C:\suprtmw\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/include/c++/3.3.1" -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"C:/Dev-Cpp/include/c++/3.3.1/backward" -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include/SDL" -I"C:/Dev-Cpp/include/allegro" -I"C:/Dev-Cpp/include/guichan" -I"C:/Dev-Cpp/ogre-0.14.1-mingw/ogrenew/OgreMain/include" -I"C:/Dev-Cpp/ogre-0.14.1-mingw/ogrenew/PlugIns/GuiElements/include" -I"C:/Dev-Cpp/include" -fexceptions -fexpensive-optimizations -O3 -fmessage-length=0 -mmmx

In file included from C:/Dev-Cpp/include/allegro.h:27,
from main.hpp:40,
from main.cpp:31:

C:/Dev-Cpp/include/allegro/system.h:31: error: conflicting types for `struct BITMAP'
C:/Dev-Cpp/include/wingdi.h:1222: error: previous declaration as `typedef struct tagBITMAP BITMAP'

C:/Dev-Cpp/include/allegro/system.h:137: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/system.h:137: error: ISO C++ forbids declaration of `create_bitmap' with no type
C:/Dev-Cpp/include/allegro/system.h:138: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/system.h:138: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/system.h:139: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/system.h:139: error: using typedef-name `BITMAP' after `struct'

C:/Dev-Cpp/include/allegro/system.h:139: error: ISO C++ forbids declaration of `create_sub_bitmap' with no type
C:/Dev-Cpp/include/allegro/system.h:139: error: ISO C++ forbids declaration of `parent' with no type
C:/Dev-Cpp/include/allegro/system.h:140: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/system.h:140: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/system.h:140: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/system.h:140: error: ISO C++ forbids declaration of `parent' with no type
C:/Dev-Cpp/include/allegro/system.h:141: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/system.h:141: error: ISO C++ forbids declaration of `bitmap' with no type

In file included from C:/Dev-Cpp/include/allegro.h:32,
from main.hpp:40,
from main.cpp:31:

C:/Dev-Cpp/include/allegro/mouse.h:74: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/mouse.h:74: error: ISO C++ forbids declaration of `mouse_sprite' with no type

C:/Dev-Cpp/include/allegro/mouse.h:97: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/mouse.h:97: error: ISO C++ forbids declaration of `bmp' with no type

C:/Dev-Cpp/include/allegro/mouse.h:106: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/mouse.h:106: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/mouse.h:109: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/mouse.h:109: error: ISO C++ forbids declaration of `sprite' with no type

In file included from C:/Dev-Cpp/include/allegro/gfx.h:22,
from C:/Dev-Cpp/include/allegro.h:38,
from main.hpp:40,
from main.cpp:31:
C:/Dev-Cpp/include/allegro/3d.h:67: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:67: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:67: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/3d.h:67: error: ISO C++ forbids declaration of `texture' with no type
C:/Dev-Cpp/include/allegro/3d.h:68: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:68: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:68: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/3d.h:68: error: ISO C++ forbids declaration of `texture' with no type
C:/Dev-Cpp/include/allegro/3d.h:69: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:69: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:69: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/3d.h:69: error: ISO C++ forbids declaration of `texture' with no type
C:/Dev-Cpp/include/allegro/3d.h:70: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:70: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:70: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/3d.h:70: error: ISO C++ forbids declaration of `texture' with no type
C:/Dev-Cpp/include/allegro/3d.h:71: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:71: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:71: error: ISO C++ forbids declaration of `bmp' with no type

C:/Dev-Cpp/include/allegro/3d.h:71: error: ISO C++ forbids declaration of `texture' with no type
C:/Dev-Cpp/include/allegro/3d.h:72: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:72: error: using typedef-name `BITMAP' after `struct'

C:/Dev-Cpp/include/allegro/3d.h:72: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/3d.h:72: error: ISO C++ forbids declaration of `texture' with no type

C:/Dev-Cpp/include/allegro/3d.h:83: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:83: error: ISO C++ forbids declaration of `ZBUFFER' with no type
C:/Dev-Cpp/include/allegro/3d.h:85: error: using typedef-name `BITMAP' after `struct'

C:/Dev-Cpp/include/allegro/3d.h:85: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/3d.h:92: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:92: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/3d.h:94: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:94: error: ISO C++ forbids declaration of `texture' with no type
C:/Dev-Cpp/include/allegro/3d.h:95: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/3d.h:95: error: ISO C++ forbids declaration of `texture' with no type
In file included from C:/Dev-Cpp/include/allegro.h:38,
from main.hpp:40,
from main.cpp:31:
C:/Dev-Cpp/include/allegro/gfx.h:75: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:75: error: ISO C++ forbids declaration of `init' with no type
C:/Dev-Cpp/include/allegro/gfx.h:76: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:76: error: ISO C++ forbids declaration of `b' with no type
C:/Dev-Cpp/include/allegro/gfx.h:83: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:83: error: ISO C++ forbids declaration of `create_video_bitmap' with no type
C:/Dev-Cpp/include/allegro/gfx.h:84: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:84: error: ISO C++ forbids declaration of `bitmap' with no type
C:/Dev-Cpp/include/allegro/gfx.h:85: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:85: error: ISO C++ forbids declaration of `bitmap' with no type
C:/Dev-Cpp/include/allegro/gfx.h:86: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:86: error: ISO C++ forbids declaration of `bitmap' with no type
C:/Dev-Cpp/include/allegro/gfx.h:87: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:87: error: ISO C++ forbids declaration of `create_system_bitmap' with no type
C:/Dev-Cpp/include/allegro/gfx.h:88: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:88: error: ISO C++ forbids declaration of `bitmap' with no type
C:/Dev-Cpp/include/allegro/gfx.h:89: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:89: error: ISO C++ forbids declaration of `sprite' with no type
C:/Dev-Cpp/include/allegro/gfx.h:90: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:90: error: ISO C++ forbids declaration of `bmp' with no type

C:/Dev-Cpp/include/allegro/gfx.h:155: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:155: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:156: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:156: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:157: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:157: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:158: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:158: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:158: error: ISO C++ forbids declaration of `create_sub_bitmap' with no type
C:/Dev-Cpp/include/allegro/gfx.h:158: error: ISO C++ forbids declaration of `parent' with no type
C:/Dev-Cpp/include/allegro/gfx.h:159: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:159: error: using typedef-name `BITMAP' after `struct'

C:/Dev-Cpp/include/allegro/gfx.h:159: error: ISO C++ forbids declaration of `bmp' with no type

C:/Dev-Cpp/include/allegro/gfx.h:159: error: ISO C++ forbids declaration of `parent' with no type
C:/Dev-Cpp/include/allegro/gfx.h:160: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:160: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:161: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:161: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:162: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:162: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:163: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:163: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:164: error: using typedef-name `BITMAP' after `struct'

C:/Dev-Cpp/include/allegro/gfx.h:164: error: ISO C++ forbids declaration of `bmp' with no type

C:/Dev-Cpp/include/allegro/gfx.h:165: error: using typedef-name `BITMAP' after `struct'

C:/Dev-Cpp/include/allegro/gfx.h:165: error: ISO C++ forbids declaration of `bmp' with no type

C:/Dev-Cpp/include/allegro/gfx.h:166: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:166: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:167: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:167: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:168: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:168: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:169: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:169: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:169: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:169: error: ISO C++ forbids declaration of `sprite' with no type

C:/Dev-Cpp/include/allegro/gfx.h:170: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:170: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:170: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:170: error: ISO C++ forbids declaration of `sprite' with no type
C:/Dev-Cpp/include/allegro/gfx.h:171: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:171: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:171: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:171: error: ISO C++ forbids declaration of `sprite' with no type
C:/Dev-Cpp/include/allegro/gfx.h:172: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:172: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:172: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:172: error: ISO C++ forbids declaration of `sprite' with no type
C:/Dev-Cpp/include/allegro/gfx.h:173: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:173: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:173: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:173: error: ISO C++ forbids declaration of `sprite' with no type
C:/Dev-Cpp/include/allegro/gfx.h:174: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:174: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:174: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:174: error: ISO C++ forbids declaration of `sprite' with no type
C:/Dev-Cpp/include/allegro/gfx.h:175: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:175: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:175: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:175: error: ISO C++ forbids declaration of `sprite' with no type
C:/Dev-Cpp/include/allegro/gfx.h:176: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:176: error: using typedef-name `BITMAP' after `struct'

C:/Dev-Cpp/include/allegro/gfx.h:176: error: ISO C++ forbids declaration of `bmp' with no type

C:/Dev-Cpp/include/allegro/gfx.h:176: error: ISO C++ forbids declaration of `sprite' with no type
C:/Dev-Cpp/include/allegro/gfx.h:177: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:177: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:178: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:178: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:179: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:179: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:180: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:180: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:181: error: using typedef-name `BITMAP' after `struct'

C:/Dev-Cpp/include/allegro/gfx.h:181: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:181: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:181: error: ISO C++ forbids declaration of `sprite' with no type
C:/Dev-Cpp/include/allegro/gfx.h:182: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:182: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:183: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:183: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:183: error: ISO C++ forbids declaration of `source' with no type
C:/Dev-Cpp/include/allegro/gfx.h:183: error: ISO C++ forbids declaration of `dest' with no type
C:/Dev-Cpp/include/allegro/gfx.h:184: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:184: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:184: error: ISO C++ forbids declaration of `source' with no type

C:/Dev-Cpp/include/allegro/gfx.h:184: error: ISO C++ forbids declaration of `dest' with no type
C:/Dev-Cpp/include/allegro/gfx.h:185: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:185: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:185: error: ISO C++ forbids declaration of `source' with no type
C:/Dev-Cpp/include/allegro/gfx.h:185: error: ISO C++ forbids declaration of `dest' with no type
C:/Dev-Cpp/include/allegro/gfx.h:186: error: using typedef-name `BITMAP' after `struct'

C:/Dev-Cpp/include/allegro/gfx.h:186: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:186: error: ISO C++ forbids declaration of `source' with no type
C:/Dev-Cpp/include/allegro/gfx.h:186: error: ISO C++ forbids declaration of `dest' with no type
C:/Dev-Cpp/include/allegro/gfx.h:187: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:187: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:187: error: ISO C++ forbids declaration of `source' with no type
C:/Dev-Cpp/include/allegro/gfx.h:187: error: ISO C++ forbids declaration of `dest' with no type
C:/Dev-Cpp/include/allegro/gfx.h:188: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:188: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:188: error: ISO C++ forbids declaration of `source' with no type
C:/Dev-Cpp/include/allegro/gfx.h:188: error: ISO C++ forbids declaration of `dest' with no type
C:/Dev-Cpp/include/allegro/gfx.h:189: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:189: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:189: error: ISO C++ forbids declaration of `source' with no type
C:/Dev-Cpp/include/allegro/gfx.h:189: error: ISO C++ forbids declaration of `dest' with no type
C:/Dev-Cpp/include/allegro/gfx.h:190: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:190: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:190: error: ISO C++ forbids declaration of `source' with no type
C:/Dev-Cpp/include/allegro/gfx.h:190: error: ISO C++ forbids declaration of `dest' with no type
C:/Dev-Cpp/include/allegro/gfx.h:191: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:191: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:191: error: ISO C++ forbids declaration of `source' with no type
C:/Dev-Cpp/include/allegro/gfx.h:191: error: ISO C++ forbids declaration of `dest' with no type
C:/Dev-Cpp/include/allegro/gfx.h:192: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:192: error: ISO C++ forbids declaration of `bitmap' with no type
C:/Dev-Cpp/include/allegro/gfx.h:193: error: using typedef-name `BITMAP' after `struct'

C:/Dev-Cpp/include/allegro/gfx.h:193: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:193: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:193: error: ISO C++ forbids declaration of `sprite' with no type
C:/Dev-Cpp/include/allegro/gfx.h:194: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:194: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:194: error: ISO C++ forbids declaration of `source' with no type
C:/Dev-Cpp/include/allegro/gfx.h:194: error: ISO C++ forbids declaration of `dest' with no type
C:/Dev-Cpp/include/allegro/gfx.h:195: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:195: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:195: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:195: error: ISO C++ forbids declaration of `sprite' with no type
C:/Dev-Cpp/include/allegro/gfx.h:198: error: using typedef-name `BITMAP' after `struct'

C:/Dev-Cpp/include/allegro/gfx.h:198: error: ISO C++ forbids declaration of `bmp' with no type

C:/Dev-Cpp/include/allegro/gfx.h:199: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:199: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:200: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:200: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:201: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:201: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:202: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:202: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:203: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:203: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:204: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:204: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:205: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:205: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:206: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:206: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:207: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:207: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:207: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:207: error: ISO C++ forbids declaration of `texture' with no type
C:/Dev-Cpp/include/allegro/gfx.h:208: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:208: error: using typedef-name `BITMAP' after `struct'

C:/Dev-Cpp/include/allegro/gfx.h:208: error: ISO C++ forbids declaration of `bmp' with no type

C:/Dev-Cpp/include/allegro/gfx.h:208: error: ISO C++ forbids declaration of `texture' with no type
C:/Dev-Cpp/include/allegro/gfx.h:209: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:209: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:209: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:209: error: ISO C++ forbids declaration of `texture' with no type
C:/Dev-Cpp/include/allegro/gfx.h:210: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:210: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:210: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:210: error: ISO C++ forbids declaration of `texture' with no type

C:/Dev-Cpp/include/allegro/gfx.h:211: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:211: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:211: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:211: error: ISO C++ forbids declaration of `texture' with no type
C:/Dev-Cpp/include/allegro/gfx.h:212: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:212: error: using typedef-name `BITMAP' after `struct'
C:/Dev-Cpp/include/allegro/gfx.h:212: error: ISO C++ forbids declaration of `bmp' with no type
C:/Dev-Cpp/include/allegro/gfx.h:212: error: ISO C++ forbids declaration of `texture' with no type
C:/Dev-Cpp/include/allegro/gfx.h:272: error: conflicting types for `typedef struct BITMAP BITMAP'
C:/Dev-Cpp/include/wingdi.h:1222: error: previous declaration as `typedef struct tagBITMAP BITMAP'

In file included from C:/Dev-Cpp/include/allegro/gfx.h:429,
from C:/Dev-Cpp/include/allegro.h:38,
from main.hpp:40,
from main.cpp:31:
C:/Dev-Cpp/include/allegro/inline/gfx.inl: In function `void clear_to_color(BITMAP*, int)':
C:/Dev-Cpp/include/allegro/inline/gfx.inl:101: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/gfx.inl: In function `void acquire_bitmap(BITMAP*)':

C:/Dev-Cpp/include/allegro/inline/gfx.inl:209: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/gfx.inl: In function `void release_bitmap(BITMAP*)':
C:/Dev-Cpp/include/allegro/inline/gfx.inl:218: error: cannot convert `BITMAP*' to `int*' in argument passing

In file included from C:/Dev-Cpp/include/allegro/draw.h:66,
from C:/Dev-Cpp/include/allegro.h:40,
from main.hpp:40,
from main.cpp:31:
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `int getpixel(BITMAP*, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:35: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void putpixel(BITMAP*, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:43: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void vline(BITMAP*, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:51: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void hline(BITMAP*, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:59: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void line(BITMAP*, int, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:67: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void fastline(BITMAP*, int, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:75: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void rectfill(BITMAP*, int, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:83: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void triangle(BITMAP*, int, int, int, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:91: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void polygon(BITMAP*, int, const int*, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:99: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void rect(BITMAP*, int, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:107: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void circle(BITMAP*, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:115: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void circlefill(BITMAP*, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:123: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void ellipse(BITMAP*, int, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:132: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void ellipsefill(BITMAP*, int, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:141: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void arc(BITMAP*, int, int, long int, long int, int, int)':

C:/Dev-Cpp/include/allegro/inline/draw.inl:150: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void spline(BITMAP*, const int*, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:159: error: cannot convert `BITMAP*' to `int*' in argument passing

C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void floodfill(BITMAP*, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:168: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void polygon3d(BITMAP*, int, BITMAP*, int, V3D**)':

C:/Dev-Cpp/include/allegro/inline/draw.inl:177: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void polygon3d_f(BITMAP*, int, BITMAP*, int, V3D_f**)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:186: error: cannot convert `BITMAP*' to `int*' in argument passing

C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void triangle3d(BITMAP*, int, BITMAP*, V3D*, V3D*, V3D*)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:195: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void triangle3d_f(BITMAP*, int, BITMAP*, V3D_f*, V3D_f*, V3D_f*)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:204: error: cannot convert `BITMAP*' to `int*' in argument passing

C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void quad3d(BITMAP*, int, BITMAP*, V3D*, V3D*, V3D*, V3D*)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:213: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void quad3d_f(BITMAP*, int, BITMAP*, V3D_f*, V3D_f*, V3D_f*, V3D_f*)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:222: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void draw_sprite(BITMAP*, BITMAP*, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:240: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl:240: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void draw_sprite_v_flip(BITMAP*, BITMAP*, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:249: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void draw_sprite_h_flip(BITMAP*, BITMAP*, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:258: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void draw_sprite_vh_flip(BITMAP*, BITMAP*, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:268: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void draw_trans_sprite(BITMAP*, BITMAP*, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:286: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl:286: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void draw_lit_sprite(BITMAP*, BITMAP*, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:296: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void draw_gouraud_sprite(BITMAP*, BITMAP*, int, int, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:306: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void draw_character_ex(BITMAP*, BITMAP*, int, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:316: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void rotate_sprite(BITMAP*, BITMAP*, int, int, long int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:328: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void rotate_sprite_v_flip(BITMAP*, BITMAP*, int, int, long int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:340: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void rotate_scaled_sprite(BITMAP*, BITMAP*, int, int, long int, long int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:352: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void rotate_scaled_sprite_v_flip(BITMAP*, BITMAP*, int, int, long int, long int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:364: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void pivot_sprite(BITMAP*, BITMAP*, int, int, int, int, long int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:373: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void pivot_sprite_v_flip(BITMAP*, BITMAP*, int, int, int, int, long int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:382: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void pivot_scaled_sprite(BITMAP*, BITMAP*, int, int, int, int, long int, long int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:391: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/draw.inl: In function `void pivot_scaled_sprite_v_flip(BITMAP*, BITMAP*, int, int, int, int, long int, long int)':
C:/Dev-Cpp/include/allegro/inline/draw.inl:400: error: cannot convert `BITMAP*' to `int*' in argument passing
In file included from C:/Dev-Cpp/include/allegro/rle.h:45,
from C:/Dev-Cpp/include/allegro.h:41,
from main.hpp:40,
from main.cpp:31:
C:/Dev-Cpp/include/allegro/inline/rle.inl: In function `void draw_rle_sprite(BITMAP*, const RLE_SPRITE*, int, int)':
C:/Dev-Cpp/include/allegro/inline/rle.inl:36: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/rle.inl: In function `void draw_trans_rle_sprite(BITMAP*, const RLE_SPRITE*, int, int)':
C:/Dev-Cpp/include/allegro/inline/rle.inl:52: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/rle.inl:52: error: cannot convert `BITMAP*' to `int*' in argument passing
C:/Dev-Cpp/include/allegro/inline/rle.inl: In function `void draw_lit_rle_sprite(BITMAP*, const RLE_SPRITE*, int, int, int)':
C:/Dev-Cpp/include/allegro/inline/rle.inl:62: error: cannot convert `BITMAP*' to `int*' in argument passing

In file included from C:/Dev-Cpp/include/allegro.h:74,
from main.hpp:40,
from main.cpp:31:

C:/Dev-Cpp/include/allegro/platform/alwin.h: At global scope:
C:/Dev-Cpp/include/allegro/platform/alwin.h:49: error: declaration of C function `int WinMain(void*, void*, char*, int)' conflicts with
C:/Dev-Cpp/include/winbase.h:1040: error: previous declaration `int WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)' here

In file included from lib/tl2d.hpp:35,
from main.hpp:46,
from main.cpp:31:

lib/win2linux.h:6:1: warning: "MAKEWORD" redefined
In file included from C:/Dev-Cpp/include/windows.h:48,
from C:/Dev-Cpp/include/pthread.h:207,
from main.hpp:35,
from main.cpp:31:
C:/Dev-Cpp/include/windef.h:122:1: warning: this is the location of the previous definition
In file included from lib/tl2d.hpp:35,
from main.hpp:46,
from main.cpp:31:
lib/win2linux.h:10:1: warning: "SOCKET_ERROR" redefined
In file included from C:/Dev-Cpp/include/windows.h:98,
from C:/Dev-Cpp/include/pthread.h:207,
from main.hpp:35,
from main.cpp:31:
C:/Dev-Cpp/include/winsock2.h:288:1: warning: this is the location of the previous definition
In file included from lib/tl2d.hpp:35,
from main.hpp:46,
from main.cpp:31:
lib/win2linux.h:21:1: warning: "LOBYTE" redefined
In file included from C:/Dev-Cpp/include/windows.h:48,
from C:/Dev-Cpp/include/pthread.h:207,
from main.hpp:35,
from main.cpp:31:
C:/Dev-Cpp/include/windef.h:126:1: warning: this is the location of the previous definition
In file included from lib/tl2d.hpp:35,
from main.hpp:46,

from main.cpp:31:
lib/win2linux.h:22:1: warning: "HIBYTE" redefined
In file included from C:/Dev-Cpp/include/windows.h:48,
from C:/Dev-Cpp/include/pthread.h:207,
from main.hpp:35,
from main.cpp:31:

C:/Dev-Cpp/include/windef.h:127:1: warning: this is the location of the previous definition
In file included from lib/tl2d.hpp:35,
from main.hpp:46,
from main.cpp:31:
lib/win2linux.h:23:1: warning: "LOWORD" redefined

In file included from C:/Dev-Cpp/include/windows.h:48,
from C:/Dev-Cpp/include/pthread.h:207,
from main.hpp:35,
from main.cpp:31:
C:/Dev-Cpp/include/windef.h:124:1: warning: this is the location of the previous definition
In file included from lib/tl2d.hpp:35,
from main.hpp:46,
from main.cpp:31:
lib/win2linux.h:24:1: warning: "HIWORD" redefined
In file included from C:/Dev-Cpp/include/windows.h:48,
from C:/Dev-Cpp/include/pthread.h:207,
from main.hpp:35,
from main.cpp:31:
C:/Dev-Cpp/include/windef.h:125:1: warning: this is the location of the previous definition
In file included from lib/tl2d.hpp:35,
from main.hpp:46,
from main.cpp:31:
lib/win2linux.h:39:1: warning: "WINAPI" redefined
In file included from C:/Dev-Cpp/include/windows.h:48,
from C:/Dev-Cpp/include/pthread.h:207,
from main.hpp:35,
from main.cpp:31:
C:/Dev-Cpp/include/windef.h:107:1: warning: this is the location of the previous definition
main.cpp: In function `void* start_display(void*)':
main.cpp:197: error: cannot convert `BITMAP*' to `int*' for argument `1' to `void show_mouse(int*)'

make.exe: *** [main.o] Error 1

Execution terminated
User avatar
maci
Knight
Knight
Posts: 507
Joined: 05 Dec 2004, 20:01
Location: Germany
Contact:

Post by maci »

strange

anyway .. this thingy is very old and we are will use Tiled as map editor in not sarf far future
ElvenProgrammer wrote:Maci: don't be rude, we're here to help people ;)
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn »

Yeah forget about that editor, we're working towards this one.
Post Reply