🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Robert E. Brown Sun, 15 Nov 1992 19:13
GCC-2.3.1 doesn't compile under NeXTstep 3.0
#1394
Author: Robert E. Brown
Date: Sun, 15 Nov 1992 19:13
8 lines
957 bytes
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.
Re: GCC-2.3.1 doesn't compile under NeXTstep 3.0
#1404
Author: Joe Buck
Date: Tue, 17 Nov 1992 01:23
22 lines
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
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