Article View: gnu.gcc.bug
Article #2845Possible bug in gcc-cpp
From: Harald Fuchs
Date: Sat, 03 Feb 1990 16:47
Date: Sat, 03 Feb 1990 16:47
12 lines
911 bytes
911 bytes
I have found something that might be a bug in the C preprocessor.
Consider:
#line 2 "dir/proto.ccP"
#include "./hdr.h"
Here I want to pretend that the source file has another name. But now
cpp won't find "./hdr.h"; apparently the directory name has changed.
This may be a bug or not; at least it is a difference to /lib/cpp, be-
cause it makes an explicit "-I." necessary.
Harald Fuchs
fuchs@it.uka.de fuchs@dkauni5t.bitnet fuchs%dkauni5t.bitnet@cunyvm.cuny.edu
Technical Details
Message-ID:
<9002031647.AA11822@tmipm0.local>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!tmipm0.mit.edu!fuchsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!tmipm0.mit.edu!fuchs From: fuchs@tmipm0.mit.edu (Harald Fuchs) Newsgroups: gnu.gcc.bug Subject: Possible bug in gcc-cpp Message-ID: <9002031647.AA11822@tmipm0.local> Date: 3 Feb 90 16:47:01 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 12