__WCHAR_TYPE__ and friends (was Re: OpenBSD tester wanted (fixincludes patch))
Neil Booth
neil@daikokuya.co.uk
Sun Jul 13 16:11:00 GMT 2003
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.
More information about the Gcc
mailing list