This is the mail archive of the gcc@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: __WCHAR_TYPE__ and friends (was Re: OpenBSD tester wanted (fixincludes patch))


Nathanael Nerode wrote:-

> Does this *work*?  Where is __WCHAR_TYPE__ defined, and how do we 
> guarantee that it's defined when this is hit in the include file?  Is it 
> predefined by the compiler?  How does the compiler get it 'right'?  How 
> do we test that it's gotten it right on OpenBSD?

It's defined by CPP according to the target macros.  So if it doesn't
get it right it's a target bug.

Neil.


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