Paul Eggert wrote: > As the stdckdint.h bug in question is fixed in GCC 15.1, wouldn't it be > better if the Gnulib workaround is used only if the bug is present (GCC > 15.0)?
Who said that is was fixed in GCC 15.1 ? I reproduce it with groff HEAD and gnulib HEAD~2 and GCC 15.1.0 (built from source): g++ -DHAVE_CONFIG_H -I. -I./src/include -I./src/include -I./lib -I./src/include -I./lib -g -O2 -MT src/roff/troff/div.o -MD -MP -MF $depbase.Tpo -c -o src/roff/troff/div.o src/roff/troff/div.cpp &&\ mv -f $depbase.Tpo $depbase.Po In file included from src/roff/troff/div.cpp:29: src/roff/troff/hvunits.h: In member function ‘units vunits::to_units()’: src/roff/troff/hvunits.h:91:7: error: ‘ckd_mul’ was not declared in this scope 91 | if (ckd_mul(&r, n, vresolution)) | ^~~~~~~ src/roff/troff/hvunits.h: In function ‘vunits operator+(const vunits&, const vunits&)’: src/roff/troff/hvunits.h:105:7: error: ‘ckd_add’ was not declared in this scope 105 | if (ckd_add(&r.n, r.n, y.n)) | ^~~~~~~ src/roff/troff/hvunits.h: In function ‘vunits operator-(const vunits&, const vunits&)’: src/roff/troff/hvunits.h:114:7: error: ‘ckd_sub’ was not declared in this scope 114 | if (ckd_sub(&r.n, r.n, y.n)) | ^~~~~~~ Bruno