]> sigrok.org Git - libserialport.git/commitdiff
Compile with -pedantic.
authorMartin Ling <redacted>
Sun, 24 Aug 2014 13:00:43 +0000 (14:00 +0100)
committerMartin Ling <redacted>
Sun, 24 Aug 2014 13:06:21 +0000 (14:06 +0100)
configure.ac

index a963265a18221e88228acd6d7300fa1e4ebde62c..457d6f910f40531cd2f79119644abfef347ab787 100644 (file)
@@ -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