1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-16 01:22:18 +03:00
Files
gnulib/doc/posix-headers/wchar.texi
Bruno Haible 2210a2b11c Fix wint_t on MSVC.
* lib/wchar.in.h (wint_t): On MSVC, override it.
* lib/wctype.in.h (wint_t): Likewise.
* m4/stdint.m4 (gl_STDINT_TYPE_PROPERTIES): Override BITSIZEOF_WINT_T on
MSVC.
* doc/posix-headers/wchar.texi: Mention the problem with wint_t on MSVC.
* doc/posix-headers/wctype.texi: Likewise.
2011-09-11 20:47:03 +02:00

37 lines
996 B
Plaintext

@node wchar.h
@section @file{wchar.h}
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/wchar.h.html}
Gnulib module: wchar
Portability problems fixed by Gnulib:
@itemize
@item
This header file cannot be included on some platforms:
Linux uClibc built without wide character support.
@item
This header file is not self-contained on some platforms:
OSF/1 with Desktop Toolkit C, BSD/OS 4.0.1.
@item
The type @code{wint_t} and macro @code{WEOF} are missing on some platforms:
IRIX 5.3.
@item
The type @code{wint_t} is incorrect on some platforms:
MSVC 9.
@item
Some platforms provide a @code{NULL} macro that cannot be used in arbitrary
expressions:
NetBSD 5.0
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This header file leads to link errors and endless recursions or endless loops
on some platforms:
glibc version 2.5 or older, together with gcc version 4.3 or newer and the
option @samp{-std=c99} or @samp{-std=gnu99}.
@end itemize