This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fixinc/inclhack.def (avoid_wchar_t_type): New fix
- To: bkorb at cruzio dot com
- Subject: Re: fixinc/inclhack.def (avoid_wchar_t_type): New fix
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sat, 11 Nov 2000 16:31:50 -0800
- Cc: mmitchel at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <3A0DF062.1921D9F2@cruzio.com><3A0DF26B.D0474C65@cruzio.com>
>>>>> "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