http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53378

--- Comment #5 from rbmj at verizon dot net 2012-05-23 17:27:09 UTC ---
Could this be fixed by a fixincludes stub somewhat like the following?

/*
 *  Work around same-named gcc header regs.h in taskLib.h on VxWorks
 */
fix = {
    hackname    = vxworks_tasklib_regs;
    files       = taskLib.h;
    test        = " -r vxWorks.h ";

    select      = "#[\t ]*include[\t ]+<regs.h>";
    c_fix       = format;
    c_fix_arg   = "#include <arch/../regs.h>";

    test_text   = "`touch taskLib.h vxWorks.h`"
        "#include <regs.h>\n";
};

Reply via email to