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]

Re: fixinc/inclhack.def (avoid_wchar_t_type): New fix


>>>>> "Bruce" == Bruce Korb <bkorb@cruzio.com> writes:

    Bruce> Hi Mark,

    Bruce> Most likely, somebody, somewhere is going to end the
    Bruce> wchar_t typedef line with an incomplete comment.  The
    Bruce> result will be that the ``#endif'' will be inside that
    Bruce> comment.  I recommend that you delete the second
    Bruce> `c_fix_arg' and let fixincl default to using the select
    Bruce> clause.  That will put the comment on the end of the #endif
    Bruce> line where it will do no harm.  :-)

I don't quite understand the full wonders of fixincludes. :-(

Perhaps you would submit a patch?  Since I simply ripped off the bool
fix above, I assume that fix has the same problem?

Thanks,

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

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