bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undefined behaviour findings in bitset


From: Bruno Haible
Subject: Re: undefined behaviour findings in bitset
Date: Sat, 16 Mar 2019 20:53:43 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; )

Hi Akim,

In the first patch:
> +          for (bitset_windex windex = bitno / BITSET_WORD_BITS;
> +               (windex - woffset) < EBITSET_ELT_WORDS; windex++)

This is C99 syntax. If you don't add 'c99' as a dependency of your
module, the module will not compile with GCC versions < 5.1.0 with
their default settings.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]