Mail Archives: djgpp-workers/2001/02/03/09:49:27
Eli Zaretskii wrote:
> Since wchar_t is short and wint_t is int, aren't these bugs?
>
> #define WCHAR_MIN 0
> #define WCHAR_MAX 127
> #define WINT_MIN 0
> #define WINT_MAX 32767
Yes, these are wrong. But surely they shouldn't be in limits.h anyway
(at least with __STRICT_ANSI__ defined). As far as I know, the WCHAR_M*
macros are supposed to be only in wchar.h and stdint.h, and the WINT_M*
macros only in stdint.h.
At the moment, DJGPP's wchar.h doesn't define WCHAR_MIN or WCHAR_MAX.
Stephen
- Raw text -