This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor/5153: #include path not affected by #line in cpplib
- From: neil at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jmarshall at acm dot org, neil at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 23 Feb 2002 16:30:15 -0000
- Subject: Re: preprocessor/5153: #include path not affected by #line in cpplib
- Reply-to: neil at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jmarshall at acm dot org, neil at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: #include path not affected by #line in cpplib
Responsible-Changed-From-To: unassigned->neil
Responsible-Changed-By: neil
Responsible-Changed-When: Sat Feb 23 08:30:14 2002
Responsible-Changed-Why:
Mine. Thanks for your bug report.
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Sat Feb 23 08:30:14 2002
State-Changed-Why:
After some discussion of a patch that I originally submitted to revert this behaviour here:
http://gcc.gnu.org/ml/gcc-patches/2002-02/msg01470.html
we decided to retain the current behaviour. The above link starts a thread that also references other mails where the old behaviour was considered to be a bug. Since the old behaviour had the potential for much confusion (see referenced mails), and which can often, if not always, be obtained with an extra -I switch, we have decided the current semantics are the lesser evil.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5153