]> git.pld-linux.org Git - packages/autogen.git/blame - autogen-format-truncate.patch
- added fallthrough,format-truncate patches (fix build with gcc 8)
[packages/autogen.git] / autogen-format-truncate.patch
CommitLineData
00b9c33f
JB
1--- autogen-5.18.14/getdefs/getdefs.c.orig 2017-09-11 06:52:36.000000000 +0200
2+++ autogen-5.18.14/getdefs/getdefs.c 2018-08-02 18:46:43.118172227 +0200
3@@ -495,7 +495,10 @@
4 * and insert the index into the output.
5 */
6 if (pzIndexText != NULL) {
7+#pragma GCC diagnostic push
8+#pragma GCC diagnostic ignored "-Wformat-overflow"
9 sprintf(def_str, " %s'", name_bf);
10+#pragma GCC diagnostic pop
11 pzOut = assignIndex(pzOut, def_bf);
12 }
13
This page took 0.059178 seconds and 4 git commands to generate.