@acefnq
Tried, getting
gcc -mcrt=newlib -g -I. -Wall -O2 -c OpenRedAlert.cpp -o OpenRedAlert.o
SDK:local/common/include/SDL/SDL_types.h:38: error: conflicting declaration 'SDL_FALSE'
SDK:local/newlib/include/SDL/SDL_stdinc.h:81: error: 'SDL_FALSE' has a previous declaration as 'SDL_bool SDL_FALSE'
SDK:local/common/include/SDL/SDL_types.h:39: error: conflicting declaration 'SDL_TRUE'
SDK:local/newlib/include/SDL/SDL_stdinc.h:82: error: 'SDL_TRUE' has a previous declaration as 'SDL_bool SDL_TRUE'
SDK:local/common/include/SDL/SDL_types.h:40: error: conflicting declaration 'typedef enum SDL_bool SDL_bool'
SDK:local/newlib/include/SDL/SDL_stdinc.h:83: error: 'SDL_bool' has a previous declaration as 'typedef enum SDL_bool SDL_bool'
SDK:local/common/include/SDL/SDL_types.h:110: error: conflicting declaration 'DUMMY_ENUM_VALUE'
SDK:local/newlib/include/SDL/SDL_stdinc.h:127: error: 'DUMMY_ENUM_VALUE' has a previous declaration as 'SDL_DUMMY_ENUM DUMMY_ENUM_VALUE'
SDK:local/common/include/SDL/SDL_types.h:111: error: conflicting declaration 'typedef enum SDL_DUMMY_ENUM SDL_DUMMY_ENUM'
SDK:local/newlib/include/SDL/SDL_stdinc.h:128: error: 'SDL_DUMMY_ENUM' has a previous declaration as 'typedef enum SDL_DUMMY_ENUM SDL_DUMMY_ENUM'
SDK:local/common/include/SDL/SDL_types.h:118: error: expected identifier before numeric constant
SDK:local/common/include/SDL/SDL_types.h:118: error: expected `}' before numeric constant
SDK:local/common/include/SDL/SDL_types.h:118: error: expected unqualified-id before numeric constant
SDK:local/common/include/SDL/SDL_types.h:118: error: expected declaration before '}' token
gmake: *** [OpenRedAlert.o] Error 1
on the very first file. Though i'd be able to fix those if
it gave me a line in the code this one looks more complicated
as it seems the code calls SDL dependencies from two different
sources /common and /clib2.
I can't find the responsive pieces of code, so this one goes
over my head.
-mcrt=newlib doesn't fix it either, but that would've been to easy
anyway
![](https://www.amigans.net/uploads/smil3dbd4d6422f04.gif)
If someone else will try and please tell me how to fix those
i'd be very grateful as it would mean me learning something new