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]
Other format: [Raw text]

Re: Use WCHAR_UNSIGNED when interpreting wide charconsts


Joseph S. Myers wrote:-

> Have you checked the various definitions of WCHAR_UNSIGNED and made sure
> that all targets get a definition that corresponds correctly with their
> definition of wchar_t?  (Since the macro hasn't been used, some
> definitions may well be wrong.)

No, I don't consider that to be in the scope of the patch.

> Could you create a testcase that tests
> that the compiler and preprocessor agree about the signedness of wchar_t?

Would such a test run on all systems?  In other words, is wchar_t going
to be typedef-ed everywhere?  If so, it sounds easy.  Otherwise I don't
think so.

Neil.


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