Re: mc-4.6.1 release?



On Fri, Oct 22, 2004 at 09:54:33AM +0200, Roland Illig wrote:
> 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

I don't see what is GNU style on it.
ISO C99, 6.10.1 says:
...
After all replacements due to macro expansion and the defined unary operator
have been performed, all remaining identifiers are replaced with the
pp-number 0, and then each preprocessing token is converted into a token.
...

Thus, the above should be handled like #if 0 if HAVE_WCTYPE_H is not
defined.

	Jakub



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