[gnu.gcc.bug] gcc v1.37 bug?

jensen%hsr.uninett@NAC.NO (Tarjei T. Jensen) (03/02/90)

My system: VMS 5.2, gcc v1.36, gas v1.34.

My <stdio.h> includes <stddef.h> in order to obtain size_t and NULL.
When code includes <stddef.h> in addition to <stdio.h> things work. If code
#undef NULL before including <stddef.h> the compile job fails because NULL is
undefined. This happens because I guard the contents of <stdef.h> with a
#ifndef _STDDEF_H statement. If there is no such guard, the compile jobs fail
because of multiple definitions of size_t.

This problem observed in the file symout.c
I try to make our include files ansi compliant, but don't know enough to
say whether I should mend our include files or the symout.c file.
----------
    Tarjei T. Jensen - if it isn't broken, fix it anyway.
    jensen@hsr.uninett.no
    jensen%hsr.uninett@nac.no