icculus / Serious-Engine

An open source version of a game engine developed by Croteam for the classic Serious Sam games.
GNU General Public License v2.0
164 stars 21 forks source link

fix build on gcc 4.8 #27

Closed notaz closed 8 years ago

notaz commented 8 years ago

some versions of gcc want to inline DitherBitmap(), and this leads to trouble: Sources/Engine/Graphics/Graphics.cpp:1167: Error: symbol rowLoopE' is already defined Sources/Engine/Graphics/Graphics.cpp:1170: Error: symbolpixLoopEL' is already defined ...

icculus commented 8 years ago

The actual fix here is to use relative asm labels (0: instead of rowLoopE:, etc), but this is good enough for now.