[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnulib] <wchar.h> on Tru64 UNIX with Desktop Toolkit needs <stdio.h
From: |
Albert Chin |
Subject: |
[bug-gnulib] <wchar.h> on Tru64 UNIX with Desktop Toolkit needs <stdio.h> |
Date: |
Mon, 25 Apr 2005 12:36:34 -0500 |
User-agent: |
Mutt/1.5.6i |
On Tru64 UNIX 4.0D and 5.1, with the commercial Compaq Desktop
Toolkit, <wchar.h> needs <stdio.h>.
Patch below.
--
albert chin (address@hidden)
-- snip snip
Index: lib/regex.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/regex.c,v
retrieving revision 1.87
diff -u -3 -p -r1.87 regex.c
--- lib/regex.c 15 Mar 2005 12:04:08 -0000 1.87
+++ lib/regex.c 25 Apr 2005 17:35:40 -0000
@@ -41,6 +41,9 @@
/* For platform which support the ISO C amendement 1 functionality we
support user defined character classes. */
# if defined _LIBC || WIDE_CHAR_SUPPORT
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
+ <wchar.h>. */
+# include <stdio.h>
/* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>. */
# include <wchar.h>
# include <wctype.h>
- [bug-gnulib] <wchar.h> on Tru64 UNIX with Desktop Toolkit needs <stdio.h>,
Albert Chin <=