summarylogtreecommitdiffstats
path: root/Patch002-configure-ac_errors-implicit-ints-and-incomp-pointers.patch
blob: 8230eaad6cf5b346e29b8dfa796e4035e4c32d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- fvwm-2.7.0/configure.ac	2022-10-20 21:05:13.000000000 +0200
+++ fvwm-2.7.0/configure.ac.new	2024-05-13 08:38:27.274239522 +0200
@@ -220,9 +220,8 @@
 
 # catch -Werror and similar options when running configure
 AC_TRY_COMPILE([#include <stdio.h>],
-[int i; static j; int *p; char *c;
-  switch (*p = p = *c) { case 0: printf("%Q", c, p); }
-  *c = &i; c = p;
+[int unused; int *p; char *c;
+  printf("%Q", c, p);
   while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1));
 ], , AC_MSG_ERROR("
 configure is not able to compile programs with warnings.  Please