[PATCH 3/3] lib: Makefile.am: enable -Wextra
IvanHu
ivan.hu at canonical.com
Mon Oct 29 17:35:57 UTC 2012
On 10/25/2012 06:48 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> I want to catch as many possible coding errors, so crank up the
> warning pedantry setting to -Wextra
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/lib/src/Makefile.am | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lib/src/Makefile.am b/src/lib/src/Makefile.am
> index 3f8764e..288ecad 100644
> --- a/src/lib/src/Makefile.am
> +++ b/src/lib/src/Makefile.am
> @@ -2,7 +2,7 @@ AM_CPPFLAGS = \
> -I$(top_srcdir)/src/lib/include \
> -I$(top_srcdir)/src/acpica/source/include \
> -I$(top_srcdir)/src/acpica/source/compiler \
> - -Wall -Werror
> + -Wall -Werror -Wextra
>
> pkglib_LTLIBRARIES = libfwts.la
> libfwts_la_LDFLAGS = -lpcre -lpthread -ljson -version-info 1:0:0 \
>
Acked-by: Ivan Hu <ivan.hu at canonical.com>
More information about the fwts-devel
mailing list