Mail Archives: djgpp/1994/02/07/11:12:49
Hi,
I decided to upgrade from v1.10 to 1.11 today and got some strange behavior
with stddef.h :
My test program was:
#include <time.h>
int main()
{
return 0;
}
When compiling with the new stddef.h (08/01/94) I get the following warnings:
c:/djgpp/include/time.h:47: warning: useless keyword or type name in empty
declaration
c:/djgpp/include/time.h:47: warning: empty declaration
Line 47 of time.h contains _SIZE_T_ .
Also the NULL seems to be defined to something else (but not 0).
Using an old stddef.h (23/09/92) I get no warnings.
(old stddef.h simply defines NULL as 0 and has no entry using _SITE_T_)
The #ifdef and #undef etc. in stddef.h seems to be quite complicated...
Any idea ?
Tony
============================================================================
Office: ** Private:
**
Dipl.-Ing. Anton HELM **
Institut fuer Nachrichtentechnik **
und Hochfrequenztechnik ** Anton HELM
Guszhausstr. 25/389 ** Gratian-Marx Str. 7/27
A-1040 Wien ** A-1110 Wien
AUSTRIA ** AUSTRIA
**
Tel.: +43-1-58801-3520 **
FAX : +43-1-5870583 **
**
============================================================================
________ __ __ __ __ __ _______ __ __
/__ __/ / / / / / / / / / / / _____/ / \ / /
/ / / / / / _____ / / __ / / / / / /____ / /\ \ / /
/ / / / / / /____/ / / / / / / / / / _____/ / / \ \ / /
/ / / /___/ / / /__/ /__/ / / / / /____ / / \ \/ /
/__/ /_______/ /___________/ /_/ /______/ /_/ \__/
============================================================================
- Raw text -