orangeduck / Corange

Pure C Game Engine
http://www.youtube.com/watch?v=482GxqTWXtA
Other
1.79k stars 199 forks source link

compilation failure #11

Closed benwaffle closed 9 years ago

benwaffle commented 9 years ago
gcc src/SDL2/SDL_local.c -c -I ./include -std=gnu99 -Wall -Werror -Wno-unused -O3 -g -fPIC -o obj/SDL_local.o
src/SDL2/SDL_local.c:16:0: error: "MAX_PATH" redefined [-Werror]
 #define MAX_PATH 512
 ^
In file included from src/SDL2/SDL_local.c:1:0:
./include/SDL2/SDL_local.h:14:0: note: this is the location of the previous definition
   #define MAX_PATH PATH_MAX
 ^
cc1: all warnings being treated as errors
Makefile:46: recipe for target 'obj/SDL_local.o' failed
make: *** [obj/SDL_local.o] Error 1
orangeduck commented 9 years ago

Hi, sorry try the latest version. Thanks.

benwaffle commented 9 years ago
orangeduck commented 9 years ago

It's been a while since I've compiled it on Linux. Next time I'm booting Linux I'll check it out and try to fix any more errors.

benwaffle commented 9 years ago

i'll make a PR

orangeduck commented 9 years ago

Thanks.