Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Tarjei T. Jensen
Fri, 02 Mar 1990 00:11
gcc v1.37 bug?
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads