You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.2 KiB

Index: configure.ac
--- configure.ac.orig 2017-06-03 17:28:36.014048000 +0200
+++ configure.ac 2017-06-03 17:29:17.640834000 +0200
@@ -13,7 +13,7 @@
AC_PREREQ(2.2)
AC_INIT([libxo], [0.8.4], [phil@juniper.net])
-AM_INIT_AUTOMAKE([-Wall -Werror foreign -Wno-portability])
+AM_INIT_AUTOMAKE([foreign -Wno-portability])
# Support silent build rules. Requires at least automake-1.11.
# Disable with "configure --disable-silent-rules" or "make V=1"
Index: libxo/xo.h
--- libxo/xo.h.orig 2017-06-03 15:07:19.000000000 +0200
+++ libxo/xo.h 2017-06-03 17:28:36.014446000 +0200
@@ -49,6 +49,8 @@
#define PRINTFLIKE(_x, _y)
#endif /* NO_PRINTFLIKE */
+#include <stdarg.h>
+
/** Formatting types */
typedef unsigned short xo_style_t;
#define XO_STYLE_TEXT 0 /** Generate text output */
Index: warnings.mk
--- warnings.mk.orig 2014-08-30 04:46:54.000000000 +0200
+++ warnings.mk 2017-06-03 17:28:36.014620000 +0200
@@ -11,12 +11,9 @@
# Commonly used sets of warnings
#
-MIN_WARNINGS?= -W -Wall
+MIN_WARNINGS?=
-LOW_WARNINGS?= ${MIN_WARNINGS} \
- -Wstrict-prototypes \
- -Wmissing-prototypes \
- -Wpointer-arith
+LOW_WARNINGS?= ${MIN_WARNINGS}
MEDIUM_WARNINGS?= ${LOW_WARNINGS} -Werror