]> git.ipfire.org Git - thirdparty/util-linux.git/commit
CI: update gcc to 12
authorThomas Weißschuh <thomas@t-8ch.de>
Fri, 6 Jan 2023 03:00:29 +0000 (03:00 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Fri, 6 Jan 2023 03:00:29 +0000 (03:00 +0000)
commit85c376a4cd102d5c3619ad937fedf80b6527ce36
tree0c83b0b6f52e235890e39909877265927edd1b17
parenta85d6a04cee9707f6ec0ba2b561f217fa4077f34
CI: update gcc to 12

gcc 10 has false positives around null strings:

In file included from /usr/include/stdio.h:894,
                 from lib/strutils.c:8:
In function ‘printf’,
    inlined from ‘test_strutils_cstrcasecmp’ at lib/strutils.c:1324:2,
    inlined from ‘main’ at lib/strutils.c:1348:10:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:112:10: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  112 |   return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
.github/workflows/cibuild.yml