Article View: gnu.gcc.bug
Article #1404Re: GCC-2.3.1 doesn't compile under NeXTstep 3.0
From: Joe Buck
Date: Tue, 17 Nov 1992 01:23
Date: Tue, 17 Nov 1992 01:23
22 lines
1614 bytes
1614 bytes
In article <9211160513.AA00346@_grettir.quorum.com_> brown@quorum.COM (Robert E. Brown) writes: >In an earlier bug report, which I saw in gnu.gcc.bug, Magnus Nordborg >(magnus@fisher.stanford.edu) reports that GCC version 2.3.1 does not compile >on Next computers running release 3.0 of the operating system. > >The problem seems to be the use of Objective C (or C++) style comments in >Next's /usr/include/ansi/m68k/stdarg.h include file, which is included >indirectly when the GCC source code contains #include <stdarg.h>. I don't >think the use of the // comment syntax belongs in an ANSI include file. Perhaps the best way to fix this is to extend fixincludes, which is intended to install legal ANSI replacements for defective vendor headers. In this case, it would turn // comments into /* comments. If stdarg.h is the only file with this wierdness, it would be enough to put a fixed copy of it into the /usr/local/lib/gcc-lib/next-whatever/include directory by hand (check the path on your system; it's where the gcc-generated header files live). -- Joe Buck jbuck@ohm.berkeley.edu
Technical Details
Message-ID:
<1e9hijINNelq@agate.berkeley.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!forney.berkeley.edu!jbuckReferences:
<9211160513.AA00346@_grettir.quorum.com_>Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!forney.berkeley.edu!jbuck From: jbuck@forney.berkeley.edu (Joe Buck) Subject: Re: GCC-2.3.1 doesn't compile under NeXTstep 3.0 Message-ID: <1e9hijINNelq@agate.berkeley.edu> Sender: gnulists@ai.mit.edu Organization: U. C. Berkeley References: <9211160513.AA00346@_grettir.quorum.com_> Distribution: gnu Date: Tue, 17 Nov 1992 01:23:31 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 23