🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #767

gcc 1.36 file inclusion bug

#767
From: Roland McGrath
Date: Sun, 29 Oct 1989 01:10
8 lines
885 bytes
GCC 1.36 on a Sun 3, Sun Unix 3.5.

With the command line:
	gcc -O -I. -I/lang/gcc/gcc-1.36 -I/lang/gcc/gcc-1.36/config insn-output.c -E > insn-output.i
insn-output.c contains `#include "config.h"'.  It finds config.h in
/lang/gcc/gcc-1.36.  /lang/gcc/gcc-1.36/config.h contains `#include "tm.h"'.
It should find tm.h in the current directory, since -I. comes before
-I/lang/gcc/gcc-1.36; but instead it uses /lang/gcc/gcc/gcc-1.36/tm.h.
Technical Details
Message-ID: <8910290110.AA02476@paris.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%paris.Berkeley.EDU

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%paris.Berkeley.EDU
From: mcgrath%paris.Berkeley.EDU@GINGER.BERKELEY.EDU (Roland McGrath)
Newsgroups: gnu.gcc.bug
Subject: gcc 1.36 file inclusion bug
Message-ID: <8910290110.AA02476@paris.Berkeley.EDU>
Date: 29 Oct 89 01:10:38 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 8