gap-packages / guava

GAP package guava - computations relative to error-correcting codes
https://gap-packages.github.io/guava
Other
13 stars 7 forks source link

C23 compliance #100

Open orlitzky opened 2 days ago

orlitzky commented 2 days ago

Original report: https://bugs.gentoo.org/944356

Guava defines a bool type in the obvious way, but the C23 standard now also defines bool. This leads to a build failure in -std=c23 mode that will happen by default in the next version of GCC, so it would be good to either append std=c17 to the build, or #ifdef around the bool type before then.