[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] Fix compilation problems associated with -Wunused-result
From: |
Glenn Maynard |
Subject: |
Re: [PATCH 1/3] Fix compilation problems associated with -Wunused-result and -Werror |
Date: |
Mon, 30 May 2011 00:03:51 -0400 |
On Sun, May 29, 2011 at 11:37 PM, Brad Hards <address@hidden> wrote:
> I agree, but example code should compile, and with a current git checkout and
> a current ubuntu (11.04) gcc configuration, it won't (because of -Werror)
>
> Its the lesser of two bad options.
You can force -Werror off in examples/Makefile.am.
AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) -Wno-error
--
Glenn Maynard