This is the mail archive of the gcc-patches@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]

Re: system include directories


"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


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