diff --git a/src/Makefile b/src/Makefile index f43e3c24d16624a54b409f143856fbccedc14a47..f7a8c1b85effd05aa269687578e9ec39a085e808 100644 --- a/src/Makefile +++ b/src/Makefile @@ -366,7 +366,12 @@ ifdef DEBUGMODE # build with debugging information WINDRESFLAGS = -D_DEBUG - CFLAGS+=-O0 -Wall -DPARANOIA -DRANGECHECK +ifdef GCC48 + CFLAGS+=-Og +else + CFLAGS+=-O0 +endif + CFLAGS+= -Wall -DPARANOIA -DRANGECHECK else diff --git a/src/am_map.c b/src/am_map.c index 90f815729fe3f5368ff4d42bcf7444a83a355240..b28cecf11602e99caea132e326f6bff1b1bdfe0f 100644 --- a/src/am_map.c +++ b/src/am_map.c @@ -999,7 +999,7 @@ static inline void AM_drawWalls(void) static mline_t l; #ifdef ESLOPE fixed_t frontf1,frontf2, frontc1, frontc2; // front floor/ceiling ends - fixed_t backf1, backf2, backc1, backc2; // back floor ceiling ends + fixed_t backf1 = 0, backf2 = 0, backc1 = 0, backc2 = 0; // back floor ceiling ends #endif for (i = 0; i < numlines; i++)