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]
Other format: [Raw text]

Re: [distcc] using distcc to speed up gcc bootstraps


Alexandre Oliva wrote:-

> How do you know what is the current directory and what is the original
> file name?  Are you suggesting more than one string or something like
> that?  *That* would be backward-incompatible, which is something I've
> tried to avoid.

Yes, have two strings, with the second one optional and only valid at
the start of a preprocessed file.  Just an idea; I think it's cleaner.
It is backwards compatible.

> > Why did your patch remove the gettext calls on the pseudo file names?
> 
> Because other parts of the compiler compare source filenames with
> <built-in>, so those strings shouldn't be subject to translation.

I don't think they should be doing that.  Why do they feel the need
to do that?  

> Also, you wouldn't want them to be handled differently if you get a
> file preprocessed with another language enabled, would you?

No, but remember that file names appear in diagnostics.

Neil.


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