public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* preprocessor/10869: -include does not honor include paths
@ 2003-05-19 17:16 A.Simon
  0 siblings, 0 replies; 2+ messages in thread
From: A.Simon @ 2003-05-19 17:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10869
>Category:       preprocessor
>Synopsis:       -include does not honor include paths
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 19 17:16:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     A.Simon@kent.ac.uk
>Release:        gcc 3.1 20020420 (prerelease)
>Organization:
>Environment:
MacOS X and others
>Description:
Giving extra include files via -include blah.h does not search the search paths given by -I. This might be intended, but I find it inconvenient.
>How-To-Repeat:

>Fix:
Search the all specified include directories which which were given before -include was specified.
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: preprocessor/10869: -include does not honor include paths
@ 2003-05-19 20:18 neil
  0 siblings, 0 replies; 2+ messages in thread
From: neil @ 2003-05-19 20:18 UTC (permalink / raw)
  To: A.Simon, gcc-bugs, gcc-prs, nobody

Synopsis: -include does not honor include paths

State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Mon May 19 20:18:58 2003
State-Changed-Why:
    Works for me.
    
    monkey:neil{8}$ echo 'foo' > /tmp/foo.c
    monkey:neil{9}$ echo '' | gcc-3.1 -E -I /tmp -include foo.c -
    # 1 "<stdin>"
    # 1 "<built-in>"
    # 1 "<command line>"
    # 1 "/tmp/foo.c" 1
    foo
    # 2 "<command line>" 2
    # 1 "<stdin>"
    monkey:neil{10}$

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10869


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-19 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-19 17:16 preprocessor/10869: -include does not honor include paths A.Simon
2003-05-19 20:18 neil

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).