Article View: gnu.gcc.bug
Article #2921gcc v1.37 bug?
From: Tarjei T. Jensen
Date: Fri, 02 Mar 1990 00:11
Date: Fri, 02 Mar 1990 00:11
16 lines
1226 bytes
1226 bytes
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
Technical Details
Message-ID:
<2827*jensen@hsr.uninett>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bu.edu!snorkelwacker!think!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!NAC.NO!jensen%hsr.uninettShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bu.edu!snorkelwacker!think!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!NAC.NO!jensen%hsr.uninett From: jensen%hsr.uninett@NAC.NO (Tarjei T. Jensen) Newsgroups: gnu.gcc.bug Subject: gcc v1.37 bug? Message-ID: <2827*jensen@hsr.uninett> Date: 2 Mar 90 00:11:57 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 16