This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CPLUS_INCLUDE_PATH confused by colons


Neil Booth wrote:

> These environment variables are a colon-separated list of
> paths.  So you effectively have an empty-path here, which
> is being treated as the current directory.  This is a
> deliberate feature; whether it's a good idea I'm not
This is a normal feature of the shell's PATH variable treatment.
(One which I did not know about until 5 seconds ago.) So I guess
existing practice makes it a '.'

nathan

-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]