Re: mc-4.6.1 release?



Pavel Shirshov (pchel) wrote:
Hello Pavel,

Friday, October 22, 2004, 4:01:28 AM, you wrote:

PR> We also should test FreeBSD and Cygwin.


On FreeBSD5.2.1 box.
=================================================================
regex.c:57:23: warning: "HAVE_WCTYPE_H" is not defined
regex.c:95:7: warning: "HAVE_LIBINTL_H" is not defined
In file included from regex.c:637:
regex.c:2085:7: warning: "__BOUNDED_POINTERS__" is not defined
regex.c:2242:24: warning: "HAVE_WCTYPE_H" is not defined
regex.c:3295:23: warning: "HAVE_WCTYPE_H" is not defined
regex.c:4552:6: warning: "_LIBC" is not defined
regex.c:4570:6: warning: "_LIBC" is not defined
=================================================================

Yeah, that's the GNU style of using the C preprocessor:

#if HAVE_WCTYPE_H

which may expand to

#if

The better way is to query

#if defined(HAVE_WCTYPE_H) && HAVE_WCTYPE_H

I have changed that, checked manually for typos and compiled it. So it should work without putting it on review first.

Roland



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