Re: mctest results from FreeBSD 5.2.1



> -----test0.err--------
> editcmd.c: In function `edit_replace_prompt':
> editcmd.c:1186: warning: unused variable `label_len'

Shall we still discuss the use of GString?

> regex.c:57:53: warning: "HAVE_WCTYPE_H" is not defined
> In file included from regex.c:637:
> regex.c:2242:54: warning: "HAVE_WCTYPE_H" is not defined
> regex.c:3295:53: warning: "HAVE_WCTYPE_H" is not defined

Test attached patch, please.

-- 
Regards,
Andrew V. Samoilov.
--- regex.c.sav	Mon Oct 25 09:30:13 2004
+++ regex.c	Wed Nov 10 14:33:50 2004
@@ -50,6 +50,10 @@
 #  include <sys/types.h>
 # endif
 
+#ifndef HAVE_WCTYPE_H
+#define HAVE_WCTYPE_H 0
+#endif
+
 # define WIDE_CHAR_SUPPORT (HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_BTOWC)
 
 /* For platform which support the ISO C amendement 1 functionality we


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]