This is the mail archive of the
mailing list for the GCC project.
Re: Problem with "" vs <> headers and fixincludes
T-Bird snafu resend:
On 06/05/17 14:52, Bruce Korb wrote:
> On 06/01/17 07:24, Douglas B Rupp wrote:
>> This is a reproducer for a problem we have with fixincludes on
>> vxworks6.6. The desired output is
>> FOO= 1
>> The problem is the rules for handling headers enclosed in quotes can
>> cause gcc to #include the original header not the patched header.
>> It seems like a problem that could theoretically occur on any target, so
>> what is the solution (other than copying each and every header into
> You have to have a include-fixed/h/foo.h header that has the line
>> #include "arch/x86.h"
> No way around that. fixincludes doesn't change the language.