Re: putenv with mingw32

2008-12-07 Thread Ben Pfaff
Brian Dessent <[EMAIL PROTECTED]> writes: > MinGW implements access to 'environ' as a macro in stdlib.h, one which > gets the environment pointer through a function call. However, that > macro is not enabled if __STRICT_ANSI__ is set, and -std=c99 sets > __STRICT_ANSI__. So one workaround would

Re: [PATCH] warnings: Add gl_WARN_COMPLEMENT and gl_WARN_SUPPORTED.

2008-12-07 Thread Bruno Haible
Simon Josefsson wrote: > I guess the effort is to document for each warning variable > the code snippet that triggers it, and discuss whether it is a common > warning and how useful it is. > > > The reasonable set that I recommend is "-Wall". > > I'd like to be able to add more to that list, to h

Re: putenv with mingw32

2008-12-07 Thread Brian Dessent
Sylvain Beucler wrote: > I imported module 'putenv'. Did you also add the stdlib module? > /usr/src/t/freedink-1.08.20081207/cross/gnulib/lib/../../../gnulib/lib/putenv.c:107: > undefined reference to `_environ' > /usr/src/t/freedink-1.08.20081207/cross/gnulib/lib/../../../gnulib/lib/putenv.c:1

putenv with mingw32

2008-12-07 Thread Sylvain Beucler
Hello, I imported module 'putenv'. When cross-compiling through mingw32, I get the following errors at link time: i586-mingw32msvc-gcc -g -O2 -Wall -std=c99 -I/usr/local/i586-mingw32msvc/include -I/usr/local/i586-mingw32msvc/lib/libffi-3.0.7/include -I/usr/local/i586-mingw32msvc/include/

Re: gnulib-tool and autoreconf

2008-12-07 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Sun, Dec 07, 2008 at 05:33:38PM CET: > > > It would seem odd to have 'autoreconf' invoke 'gnulib-tool'. gnulib-tool > > > is a tool that *fetches* source files, whereas autoreconf is a tool that > > > *combines* source files, generating additional files from them.

Re: gnulib and autopoint

2008-12-07 Thread Sylvain Beucler
On Sun, Dec 07, 2008 at 05:36:16PM +0100, Bruno Haible wrote: > > Currently I'm breaking the egg and killing the chicken by using: > > > > # Install gettext 0.17 files > > autopoint -f > > # Update gettext files with newer gnulib versions > > gnulib-tool --update -S > > # Rerun the autot

Re: gnulib and autopoint

2008-12-07 Thread Bruno Haible
Hi Sylvain, > Currently I'm breaking the egg and killing the chicken by using: > > # Install gettext 0.17 files > autopoint -f > # Update gettext files with newer gnulib versions > gnulib-tool --update -S > # Rerun the autotools but skip autopoint which would fail > AUTOPOINT=/bin/tru

Re: gnulib-tool and autoreconf

2008-12-07 Thread Bruno Haible
Hello Ralf, > > It would seem odd to have 'autoreconf' invoke 'gnulib-tool'. gnulib-tool > > is a tool that *fetches* source files, whereas autoreconf is a tool that > > *combines* source files, generating additional files from them. > > Therefore gnulib-tool logically belongs before autoreconf. >

Re: gnulib-tool and autoreconf

2008-12-07 Thread Bruno Haible
Eric Blake wrote: > I think it is the existence, and proper maintenance, of m4 > serial numbers that will make your proposed change to autopoint worthwhile. Yes, the serial numbers will matter now. > > Therefore I would find it better if autopoint had an option that tells it > > not to overwrite

Re: Haiku port status

2008-12-07 Thread Bruno Haible
Hello Ingo, Ingo Weinhold wrote: > > - This makes many tests which use > > 'long double' fail. This is critical, because gnulib now assumes working > > 'long double' on all platforms. > > For sake BeOS binary compatibility Haiku does by default still

Re: config.status: error: ../../gltests/GNUmakefile: file not found

2008-12-07 Thread Bruno Haible
Simon Josefsson and Ralf Wildenhues wrote on 2008-11-29: > > I'd prefer the latter (I don't think GNUmakefile belongs in > > non-top-level directories) but don't know how to achieve it. > > Thanks for checking; I agree with the analysis, and that gltests > shouldn't contain GNUmakefile nor the con

Re: [PATCH] unicodeio.c: mark unused parameters

2008-12-07 Thread Bruno Haible
Hi Jim, > Sometimes I enable warnings about unused parameters. > When I do, it's distracting to see these go by: > > unicodeio.c: In function 'exit_failure_callback': > unicodeio.c:172: warning: unused parameter 'callback_arg' > unicodeio.c: In function 'fallback_failure_callback': > unic

Re: gnulib and distros

2008-12-07 Thread Ralf Wildenhues
... and another typo: * Bruno Haible wrote on Sat, Dec 06, 2008 at 01:04:31PM CET: > *** doc/gnulib-intro.texi.orig2008-12-06 12:56:52.0 +0100 > --- doc/gnulib-intro.texi 2008-12-06 12:56:07.0 +0100 > + Security: Gnulib provides functions that are immune against vulner

Re: [PATCH] warnings: Add gl_WARN_COMPLEMENT and gl_WARN_SUPPORTED.

2008-12-07 Thread Ralf Wildenhues
Hello Bruno, a couple of typo nits: * Bruno Haible wrote on Sat, Dec 06, 2008 at 12:17:07PM CET: > doc/manywarnings.texi > > @node manywarnings > @section manywarnings > > The @code{manywarnings} module allows you to enable as many GCC w

Re: gnulib-tool and autoreconf

2008-12-07 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Sat, Dec 06, 2008 at 11:18:05AM CET: > It would seem odd to have 'autoreconf' invoke 'gnulib-tool'. gnulib-tool > is a tool that *fetches* source files, whereas autoreconf is a tool that > *combines* source files, generating additional files from them. > Theref