Re: The attribute module

2020-05-09 Thread Bruno Haible
Hi Akim, > So there remains this one. Ok to install? Yes. Looks good. Bruno

Re: The attribute module

2020-05-09 Thread Akim Demaille
> Le 9 mai 2020 à 13:24, Bruno Haible a écrit : > > Hi Akim, > >>> In file included from ../lib/bitsetv.c:21: >>> In file included from ../lib/bitsetv.h:24: >>> In file included from ../lib/bitset.h:31: >>> In file included from ../lib/bitset/base.h:28: >>> ../lib/xalloc.h:43:10: warning: '_GL

Re: The attribute module

2020-05-09 Thread Akim Demaille
Hi Bruno, > Le 9 mai 2020 à 12:37, Bruno Haible a écrit : > > Hi Akim, > > Also, I avoid to use _GL_ATTRIBUTE_FORMAT and ATTRIBUTE_FORMAT, because of a > tricky override of 'printf' by '__printf__', done in gnulib and libintl. Then, shouldn't gnulib expose the _GL_ATTRIBUTE_FORMAT_(PRINTF|SCAN

Re: The attribute module

2020-05-09 Thread Bruno Haible
Hi Akim, > > In file included from ../lib/bitsetv.c:21: > > In file included from ../lib/bitsetv.h:24: > > In file included from ../lib/bitset.h:31: > > In file included from ../lib/bitset/base.h:28: > > ../lib/xalloc.h:43:10: warning: '_GL_ATTRIBUTE_ALLOC_SIZE' macro redefined > > [-Wmacro-redef

Re: The attribute module

2020-05-09 Thread Bruno Haible
I wrote: > - In the lib/*.in.h header files, that may (in some circumstances) be used > without a preceding '#include ' and that therefore are > designed > to be as standalone as possible, you can use the _GL_ATTRIBUTE_* macros > if you have added a fallback definition. The

Re: The attribute module

2020-05-09 Thread Bruno Haible
Hi Akim, > Bison started to use the new attribute module, but it generates conflicts > with other modules, because one definition comes from config.h, and another > from the other module's file. For instance: > > > In file included from ../lib/bitsetv.c:21: > > In file included from ../lib/bit

The attribute module

2020-05-09 Thread Akim Demaille
Hi all, Bison started to use the new attribute module, but it generates conflicts with other modules, because one definition comes from config.h, and another from the other module's file. For instance: > In file included from ../lib/bitsetv.c:21: > In file included from ../lib/bitsetv.h:24: >

more uses for the 'attribute' module

2020-05-08 Thread Bruno Haible
These patches enable the use of the 'attribute' module in a couple of more places. And fix a typo. 2020-05-08 Bruno Haible ignore-value tests: Use module 'attribute'. * m4/gnulib-common.m4 (gl_COMMON_BODY): Fix a typo. * tests/test-ignore-value.c: