This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: system include directories
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: system include directories
- From: Nathan Sidwell <nathan at codesourcery dot com>
- Date: Sun, 01 Jul 2001 22:19:52 +0100
- CC: gcc-patches <gcc-patches at gcc dot gnu dot org>, zackw <zackw at stanford dot edu>, mark <mark at codesourcery dot com>
- Organization: Codesourcery LLC
- References: <Pine.LNX.4.33.0105091024440.20129-100000@kern.srcf.societies.cam.ac.uk>
"Joseph S. Myers" wrote:
>
> On Wed, 9 May 2001, Nathan Sidwell wrote:
>
> > + const char *non = other->sysp ? "" : "non-";
>
> > + _(" as it is aliased to %ssystem directory \"%s\""),
>
> This "%ssystem" usage won't work properly with i18n. As a minimum you
> would need to use _ around the "non-" string, but better to use two
> separate strings with "system" and "non-system".
>
> The documentation in gcc.texi under "Use of @samp{-I/usr/include} may
> cause trouble." needs updating. I'd suggest not telling people how to
> specify include directories manually, but rather telling them "don't do
> that" and saying that GCC will warn if you try.
Is this patch what you had in mind?
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
include-2.patch