This way it should be more portable...

This commit is contained in:
Alexander S. Aganichev 2000-03-22 16:55:00 +00:00
parent c7a41238d4
commit 99bd4b886f
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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);