lilijreey / bwapi

Automatically exported from code.google.com/p/bwapi
0 stars 0 forks source link

MinGW Support (ones more) #412

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dear BWAPI developer,

ones more I would like to mention, that it would be nice, if BWAPI clients 
would also compile with mingw.

I prepared a patch, which demonstrates, that there are only little changes 
needed to make the code compile with mingw. With these modifications the 
ExampleAIClient runs fine.

Till now, I did not test all functionality of the code, so maybe there are 
still some bugs like the two examples I already found:

1. Changes in BulletImpl.cpp: Using uninitialised variables. (I wondered it 
works with VC++ ...)

2. Changes in GameTable.h: time_t has different size in VC++ and mingw.

It would be nice, if you add this patch (or a modification of it) to the 
repository. I read there are also other people thinking about this issue.

If there are questions to the changes, do not hesitate to ask...

Best regards.

Original issue reported on code.google.com by LordBlac...@gmail.com on 19 Oct 2011 at 8:45

Attachments:

GoogleCodeExporter commented 9 years ago
Applied. Hopefully everything works as intended.

Original comment by AHeinerm on 20 Oct 2011 at 6:16