OpenFodder / openfodder

Open Fodder: An open source port of Cannon Fodder
http://openfodder.com
GNU General Public License v3.0
459 stars 42 forks source link

Current master can't compile on Linux #21

Closed xcom169 closed 6 years ago

xcom169 commented 6 years ago

Current master can't compile on Linux with C++ compiler

segrax commented 6 years ago

Hey,

What error are you seeing?

The current master is building ok with TravisCi

drnovice commented 6 years ago

Did you install sdl libraries?

xcom169 commented 6 years ago

Hey,

What error are you seeing?

The current master is building ok with TravisCi

Yes, Source/Fodder.cpp:16243:52: error: ordered comparison between pointer and zero ('sMission_Troop *' and 'int') if (pSprite->field_5E_SoldierAllocated >= 0) {


2 warnings and 1 error generated.
segrax commented 6 years ago

I'll change that later, but have you altered the compile flags?

as the current master is still building with default makefile on travis ci

xcom169 commented 6 years ago

I'll change that later, but have you altered the compile flags?

as the current master is still building with default makefile on travis ci

I didn't change the compile flags. Now it seems to be okay on Ubuntu 18.04.

Thanks! This can be closed.