From 99bd4b886ffe219aa391b81087f7a0d8e65ff6a4 Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Wed, 22 Mar 2000 16:55:00 +0000 Subject: [PATCH] This way it should be more portable... --- GNUmakef.def | 4 ++-- goldlib/gall/gtimall.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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);