.gitignore and generated files (was: Re: _GL_ARG_NONNULL)

2009-12-21 Thread Bruno Haible
Eric Blake wrote: > One other thing - the generated .gitignore files are failing to pick up on > the > fact that link-warning.h and arg-nonnull.h (and soon-to-be warn-on-use.h) are > generated files: > > # Untracked files: > # (use "git add ..." to include in what will be committed) > # > #

Re: _GL_ARG_NONNULL

2009-12-21 Thread Eric Blake
Bruno Haible clisp.org> writes: > Indeed, I reproduce. The reason is that the module 'arg-nonnull' ends up > among the main modules, not the tests modules. But the tests modules need > it as well. We have fixed this for 'link-warning' three months ago, but > forgot about the issue for 'arg-nonnul

Re: _GL_ARG_NONNULL

2009-12-20 Thread Simon Josefsson
Bruno Haible writes: > Hi Simon, > >> git clone git://git.savannah.gnu.org/libidn.git >> cd libidn >> gnulib-tool --import > > Indeed, I reproduce. The reason is that the module 'arg-nonnull' ends up > among the main modules, not the tests modules. But the tests modules need > it as well. We have

Re: _GL_ARG_NONNULL

2009-12-19 Thread Bruno Haible
Hi Simon, > git clone git://git.savannah.gnu.org/libidn.git > cd libidn > gnulib-tool --import Indeed, I reproduce. The reason is that the module 'arg-nonnull' ends up among the main modules, not the tests modules. But the tests modules need it as well. We have fixed this for 'link-warning' three

Re: _GL_ARG_NONNULL

2009-12-16 Thread Simon Josefsson
Bruno Haible writes: > Simon Josefsson wrote: >> > If not, then take a look at gltests/Makefile. It should define >> > ARG_NONNULL_H. >> >> No, there is >> >> stdlib.h: stdlib.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H) >> >> but ARG_NONNULL_H is never defined in the Makefile. > > Did you somehow

Re: _GL_ARG_NONNULL

2009-12-16 Thread Bruno Haible
Simon Josefsson wrote: > > If not, then take a look at gltests/Makefile. It should define > > ARG_NONNULL_H. > > No, there is > > stdlib.h: stdlib.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H) > > but ARG_NONNULL_H is never defined in the Makefile. Did you somehow pass --exclude=arg-nonnull to the g

Re: _GL_ARG_NONNULL

2009-12-16 Thread Simon Josefsson
Bruno Haible writes: > Hi Simon, > >> The cause seems to be a un-expanded _GL_ARG_NONNULL: >> >> j...@mocca:~/gnutls4win$ grep 'NONNULL is copied' >> build/libidn-1.16/gltests/stdlib.h >> /* The definition of _GL_ARG_NONNULL is copied here. *

Re: _GL_ARG_NONNULL

2009-12-15 Thread Bruno Haible
Hi Simon, > The cause seems to be a un-expanded _GL_ARG_NONNULL: > > j...@mocca:~/gnutls4win$ grep 'NONNULL is copied' > build/libidn-1.16/gltests/stdlib.h > /* The definition of _GL_ARG_NONNULL is copied here. */ _GL_ARG_NONNULL should be defined in the lines tha

_GL_ARG_NONNULL

2009-12-15 Thread Simon Josefsson
Libidn with recent gnulib fails on mingw: ./stdlib.h: In function 'rpl_putenv': ./stdlib.h:337: error: expected declaration specifiers before '_GL_ARG_NONNULL' The cause seems to be a un-expanded _GL_ARG_NONNULL: j...@mocca:~/gnutls4win$ grep 'NONNULL is copied&#x