diff --git a/GNUmakef.def b/GNUmakef.def index 0beac98..b17aa54 100644 --- a/GNUmakef.def +++ b/GNUmakef.def @@ -47,8 +47,8 @@ LIBEXT=.a endif endif endif -CFLAGS+=-s -funsigned-char $(INCS) -Wall -Wno-sign-compare -pedantic -O2# -fomit-frame-pointer -LNKFLAGS+=-s +CFLAGS+=-g -funsigned-char $(INCS) -Wall -Wno-sign-compare -pedantic -O2# -fomit-frame-pointer +LNKFLAGS+=-g CPPFLAGS+=$(CFLAGS) -fno-exceptions -fno-rtti # comment following lines if you dislike ncurses diff --git a/goldlib/gall/gtimall.h b/goldlib/gall/gtimall.h index 971b965..e736f66 100644 --- a/goldlib/gall/gtimall.h +++ b/goldlib/gall/gtimall.h @@ -137,7 +137,7 @@ inline Clock gclock() { return Clock(clock()*10/CLK_TCK); } int str2mon(const char* ptr) __attribute__ ((const)); int tzoffset(); -char* strftimei(char* s, size_t maxsize, const char* fmt, const struct tm* t) __attribute__ ((format (strftime, 3, 0))); +char* strftimei(char* s, size_t maxsize, const char* fmt, const struct tm* t); // __attribute__ ((format (strftime, 3, 0))); FTime TimeToFTime(time_t __time) __attribute__ ((const)); time_t FTimeToTime(FTime* __ftime, struct tm* __tm=NULL);