1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

Compile with -pedantic.

This commit is contained in:
Martin Ling 2014-08-24 14:00:43 +01:00
parent c51b846eee
commit 7f450f46bd

View 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