This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
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.