aggressive fixincludes

Mark Mitchell mark@codesourcery.com
Tue Nov 30 23:39:00 GMT 1999


>>>>> "korbb" == korbb  <korbb@sourceware.cygnus.com> writes:

    korbb> How about changing the last test to:

    korbb>   if (strstr( fname, "++" ) != NULL) return SKIP_FIX;

    korbb> and adding:

    korbb>   if (strstr( text, "extern \"C++\"" ) != NULL) return
    korbb> SKIP_FIX;

Looks right to me.

    korbb> As for the ^M stuff, I liked it because it did not cause
    korbb> interesting stuff to scroll off the screen.

You're certainly entitled to your opinion!  But control characters
showing up in my logfiles make me nervous.  It's not a big deal either
way; just strikes me as odd.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc-bugs mailing list