Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Compile Errors

Credits go to Dennis, Kitty Cat, ReyBrujo, Ultio, and Wetimer for helping out!
This thread is locked; no one can reply to it. rss feed Print
 1   2 
Compile Errors
Neil Walker
Member #210
April 2000
avatar

The reason for the error is that the tinyXML header has the following line:
#include <windows.h>

It doesn't actually do anything. I talked to the tinyXML author about this and he just put it in for the sake of putting it in. The reason why it works in Dev-CPP is because DevCPP does not define a Microsoft windows constant :)

You can safely remove this line from tinyXML and all will work.

Neil.

Neil.
MAME Cabinet Blog / AXL LIBRARY (a games framework) / AXL Documentation and Tutorial

wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie

Rick
Member #3,572
June 2003
avatar

It doesn't actually do anything. I talked to the tinyXML author about this and he just put it in for the sake of putting it in.

Weird. Got it working. Thanks all. :)

========================================================
Actually I think I'm a tad ugly, but some women disagree, mostly Asians for some reason.

 1   2 


Go to: