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> Oh, also, does the errant file do any testing for
    Bruce> __cplusplus being defined?  If not, then please also add:

    Bruce>   bypass = '#if.*def.*__cplusplus';

    Bruce> so that C++ ready headers are not unnecessarily hacked.
    Bruce> Thanks!

Some of the headers in question do indeed say #ifdef __cplusplus --
but not at the top; they say it around other bits.  So, I understand
how this works, it wouldn't be safe.

--
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]