From 7f450f46bda085943df503d9d74ed1c8f9d42e7f Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Sun, 24 Aug 2014 14:00:43 +0100 Subject: [PATCH] Compile with -pedantic. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index a963265..457d6f9 100644 --- a/configure.ac +++ b/configure.ac @@ -39,8 +39,8 @@ AM_INIT_AUTOMAKE([1.11 -Wall -Werror check-news]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) -# Enable more compiler warnings via -Wall and -Wextra. -CFLAGS="$CFLAGS -Wall -Wextra" +# Enable more compiler warnings. +CFLAGS="$CFLAGS -std=c99 -Wall -Wextra -pedantic" # Checks for programs. AC_PROG_CC