From: Martin Ling Date: Sun, 24 Aug 2014 13:00:43 +0000 (+0100) Subject: Compile with -pedantic. X-Git-Tag: libserialport-0.1.1~107 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7f450f46bda085943df503d9d74ed1c8f9d42e7f;p=libserialport.git Compile with -pedantic. --- 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