bug#78933: compilation error after recent 'od' changes

Bruno Haible via GNU coreutils Bug Reports <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Organization GNU
Message-ID <1926893.tdWV9SEqCh@nimes>
After this week's changes in 'od', the CI reports a compilation error
on macOS:

gcc  -I. -I.. -I./lib  -Ilib -I../lib -Isrc -I../src -I/Users/runner/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/opt/libiconv/include -Wall  -Wno-format-extra-args -Wno-implicit-const-int-float-conversion -Wno-tautological-constant-out-of-range-compare -g -O2 -MT src/od.o -MD -MP -MF $depbase.Tpo -c -o src/od.o ../src/od.c &&\
mv -f $depbase.Tpo $depbase.Po
../src/od.c:162:16: error: static assertion failed due to requirement '(sizeof (width_bytes) / sizeof *(width_bytes)) == N_SIZE_SPECS': static assertion failed
  162 | static_assert (ARRAY_CARDINALITY (width_bytes) == N_SIZE_SPECS);
      | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bruno
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.