public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Zack Weinberg <zack@codesourcery.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: preprocessor/5153: #include path not affected by #line in cpplib Date: Tue, 18 Dec 2001 16:16:00 -0000 [thread overview] Message-ID: <20011219001601.17944.qmail@sources.redhat.com> (raw) The following reply was made to PR preprocessor/5153; it has been noted by GNATS. From: Zack Weinberg <zack@codesourcery.com> To: Neil Booth <neil@daikokuya.demon.co.uk> Cc: John Marshall <jmarshall@acm.org>, gcc-gnats@gcc.gnu.org Subject: Re: preprocessor/5153: #include path not affected by #line in cpplib Date: Tue, 18 Dec 2001 16:14:35 -0800 On Tue, Dec 18, 2001 at 11:07:28PM +0000, Neil Booth wrote: > > > > (In the real world, what we have is foo.y, foo.h in a source directory, > > and foo.c has been generated in a separate build directory from foo.y. > > Because most GNU projects put foo.c in the source directory, they haven't > > encountered the problem described, but that doesn't mean arranging builds > > like this is invalid.) > > Zack, is this limitation intentional or arbitrary? It seems having it > affect the path can be useful, but I worry about side-effects on > existing code. Then again, John says this was the historical behaviour. It was intentionally changed, but I do not remember why. If no one can point to code which is broken by the historical behaviour, it probably makes sense to change it back. Note that a simple -I../src will cause foo.h to be found again. zw
next reply other threads:[~2001-12-19 0:16 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-12-18 16:16 Zack Weinberg [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-02-24 12:22 John Marshall 2002-02-23 9:56 neil 2001-12-18 15:16 Neil Booth 2001-12-18 6:46 John Marshall
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20011219001601.17944.qmail@sources.redhat.com \ --to=zack@codesourcery.com \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).