From: kunst AT prl DOT philips DOT nl Subject: patch To: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list) Date: Tue, 18 Jan 1994 09:34:19 +0100 (MET) Hello DJ, When is included, a warning message is displayed due to the changed (2.5.7) in dj111m2.zip. This warning can be removed by changing a single #ifdef in . Regards, .^^^^^^^^ _____________________________________ | | / Pieter Kunst (P.J.) \ | _ _| / Philips Research Laboratories, \ .--(o)(o) / Building WY3, Prof. Holstlaan 4, \ |@ _) / 5656 AA Eindhoven, The Netherlands. | | ,___| / e-mail: kunst AT prl DOT philips DOT nl / | / \_______________________________________________/ /____\ ------------------------------------------------------------------------------- C:\>type test.c #include int main () { return 0; } C:\>gcc -c test.c In file included from test.c:1: c:/djgpp/include/time.h:47: warning: useless keyword or type name in empty decla ration c:/djgpp/include/time.h:47: warning: empty declaration =========================== (part of) old time.h ============================= #ifndef _stddef_h #ifdef _SIZE_T_ typedef _SIZE_T_ size_t; #undef _SIZE_T_ #endif #endif =========================== (part of) new time.h ============================= #ifndef _STDDEF_H #ifdef _SIZE_T_ typedef _SIZE_T_ size_t; #undef _SIZE_T_ #endif #endif ==============================================================================