RE: [bug-diffutils] [PATCH] Avoid gcc warning on Stratus OpenVOS building regex.c

2011-08-22 Thread Green, Paul
; bug-gnulib@gnu.org Subject: Re: [bug-diffutils] [PATCH] Avoid gcc warning on Stratus OpenVOS building regex.c Hi Paul Green, Paul Green wrote in <http://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00047.html>: > +# if defined __i386__&& !defined __EMX__&& !defin

Re: [bug-diffutils] [PATCH] Avoid gcc warning on Stratus OpenVOS building regex.c

2011-08-22 Thread Bruno Haible
Hi Paul Green, Paul Green wrote in : > +# if defined __i386__&& !defined __EMX__&& !defined __VOS__ We take our macros to test from particular systems from . But I don't see Stratus OpenVOS li

Re: [bug-diffutils] [PATCH] Avoid gcc warning on Stratus OpenVOS building regex.c

2011-08-18 Thread Paul Eggert
On 08/17/2011 05:12 PM, Eric Blake wrote: > Wouldn't it just be simpler to always define internal_function as an empty > macro > when not on _LIBC, Yes, I think so. I did that in gnulib, here: http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=a6b16b69fe1cad695b270dd5bf3deb2850fc4dd1 and t

Re: [bug-diffutils] [PATCH] Avoid gcc warning on Stratus OpenVOS building regex.c

2011-08-17 Thread Eric Blake
[adding bug-gnulib] On 08/17/2011 02:19 PM, Green, Paul wrote: Gentle Diffutils Maintainers, The Stratus OpenVOS port of gcc does not allow use of the regparm attribute. The following patch to regex_internal.h eliminates a series of warning messages when building lib/regex.c. This patch is agai