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: RFA: Fix pch/system-1.c failures for systems with non-trivial BUILD_VA_LIST_TYPE


> Maybe.  But <built-in> is internationalized in cpplib, and should be
> in the front-end too if it isn't already.  We shouldn't be comparing
> strings like that.

Should I just compare the first character with '<' then?
E.g.:

/* Don't add cwd for <built-in>.  */
if (filename[0] != DIR_SEPARATOR && filename[0] != '<')


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