coreutils / gnulib

upstream mirror
http://git.savannah.gnu.org/gitweb/?p=gnulib.git
Other
274 stars 111 forks source link

use two-parametered version of static_assert #16

Closed lzsiga closed 8 months ago

lzsiga commented 8 months ago

Use two-parametered version of static_assert, as single-parametered version is only defined in C23

pixelb commented 8 months ago

Well this should not be needed as parse-datetime includes config.h which includes assert.h which should provide a C23 compat static_assert() if needed.

Have a look towards the bottom of your config.h to see how the static_assert is configured. If this is still an issue, please send details of your compiler version and compiler flags (setting language level etc.) to bug-gnulib@gnu.org.

thank you