Re: [bug-gnulib] wcwidth on OSF/1

2006-08-11 Thread Paul Eggert
Eric Blake-1 <[EMAIL PROTECTED]> writes: > Why don't we instead add a new module, wchar, which provides a replacement > using the same techniques as we do with stdint.m4. Sounds reasonable to me.

Re: [bug-gnulib] wcwidth on OSF/1

2006-08-11 Thread Eric Blake-1
> Confirmed. Thanks, Albert! I wasn't aware that this was the same bug > that we work around in so many other places. > > I'm adding the fix below to gnulib. No need any more for -I/usr/include > or option -nodtk. Why don't we instead add a new module, wchar, which provides a replacement using

Re: [bug-gnulib] wcwidth on OSF/1

2006-08-11 Thread Bruno Haible
Albert Chin wrote: > > > cc: Error: /usr/include.dtk/wchar.h, line 87: Ill-formed parameter type > > > list. (parmtyplist) > > > __VA_LIST__ __arg); > > > ^ > > > configure:14834: $? = 1 > > The fix is to #include before . Confirmed. Thanks, Albert! I wasn't aware

Re: [bug-gnulib] wcwidth on OSF/1

2006-08-10 Thread Albert Chin
On Mon, Aug 07, 2006 at 08:47:38PM +0200, Bruno Haible wrote: > Gary V. Vaughan wrote: > > Here is the culprit: > > > > configure:14791: checking whether wcwidth is declared > > configure:14828: cc -c -g conftest.c >&5 > > cc: Error: /usr/include.dtk/wchar.h, line 78: Ill-formed parameter type >

Re: [bug-gnulib] wcwidth on OSF/1

2006-08-08 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Tue, Aug 08, 2006 at 03:32:33PM CEST: > > + If GNU CC is not installed, it is therefore recommended to try > + > + env CC="cc" ./configure > + > + and if that doesn't work, try > + > + env CC="cc -nodtk" ./configure What does it need to persuad

Re: [bug-gnulib] wcwidth on OSF/1

2006-08-08 Thread Bruno Haible
Gary V. Vaughan wrote: > NOTICE -- NEW DEFAULTS > > This Developers' Toolkit Supplement compiler defaults to -std -intrin- > sics. The compiler that shipped with Tru64 UNIX V4 systems defaults to > -std0. For compilations that rely on these default settings, this > c

Re: [bug-gnulib] wcwidth on OSF/1

2006-08-07 Thread Gary V. Vaughan
All: Bruno Haible wrote: > Gary V. Vaughan wrote: >> Here is the culprit: >> >> configure:14791: checking whether wcwidth is declared >> configure:14828: cc -c -g conftest.c >&5 >> cc: Error: /usr/include.dtk/wchar.h, line 78: Ill-formed parameter type >> list. (parmtyplist) >> __

Re: [bug-gnulib] wcwidth on OSF/1

2006-08-07 Thread Bruno Haible
Gary V. Vaughan wrote: > Here is the culprit: > > configure:14791: checking whether wcwidth is declared > configure:14828: cc -c -g conftest.c >&5 > cc: Error: /usr/include.dtk/wchar.h, line 78: Ill-formed parameter type > list. (parmtyplist) > __VA_LIST__ __arg); > --

Re: [bug-gnulib] wcwidth on OSF/1

2006-08-07 Thread Gary V. Vaughan
Hi Bruno, Gary V. Vaughan wrote: > alphaev67-dec-osf5.1$ ../configure --enable-changeword CC=gcc | >> fgrep wcwidth > checking for wcwidth... yes > checking whether wcwidth is declared... yes > alphaev67-dec-osf5.1$ fgrep WCWIDTH config.h > #define HAVE_DECL_WCWIDTH 1 > #define HAVE_WCWIDTH 1

Re: [bug-gnulib] wcwidth on OSF/1

2006-08-07 Thread Gary V. Vaughan
Hi Bruno, Bruno Haible wrote: > Gary V. Vaughan wrote: > >> A gnulib bug on osf (4.0d and 5.1): >> alphaev67-dec-osf5.1$ make all check >> cc -DHAVE_CONFIG_H -I. -I../../lib -I.. -g -c ../../lib/mbchar.c >> cc: Warning: ../../lib/wcwidth.h, line 70: In this declaration, >> parameter 1

Re: [bug-gnulib] wcwidth on OSF/1 (was: m4-1.4.6 soon?)

2006-08-07 Thread Bruno Haible
Gary V. Vaughan wrote: > A gnulib bug on osf (4.0d and 5.1): > alphaev67-dec-osf5.1$ make all check > cc -DHAVE_CONFIG_H -I. -I../../lib -I.. -g -c ../../lib/mbchar.c > cc: Warning: ../../lib/wcwidth.h, line 70: In this declaration, > parameter 1 has a different type than specified in a