Bug #11617
closed
GCC 12 fails to compile cif.c
Added by Evgeny Novikov almost 2 years ago.
Updated almost 2 years ago.
Description
Ilya tried to use host GCC 12 to build CIF, but it fails with some issues when compiling "cif.c". Let's investigate and fix it.
- Status changed from New to Closed
Indeed, these warnings are almost benign. Nevertheless, I fixed them in b88cad7. It prevents issuing of those warnings by introducing a special function for concatenation of strings and restriction of the resulting string length (likely the compiler does not understand this while it does not find previous suspicious patterns anymore).
I fixed the critical, subtle issue introduced in b88cad7 in next 53271d7.
Another issue was revealed at using Klever. It was fixed in 4712285.
Also available in: Atom
PDF