You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by James Peach <ja...@me.com> on 2013/10/30 00:55:04 UTC

Re: git commit: Cleaning up build of atscppapi

On Oct 29, 2013, at 3:03 PM, briang@apache.org wrote:

> Updated Branches:
>  refs/heads/master e0e64ba62 -> 086906ae3
> 
> 
> Cleaning up build of atscppapi
> 
[snip]
> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/086906ae/lib/atscppapi/examples/async_http_fetch/Makefile.am
> ----------------------------------------------------------------------
> diff --git a/lib/atscppapi/examples/async_http_fetch/Makefile.am b/lib/atscppapi/examples/async_http_fetch/Makefile.am
> index 8dbb281..dd79227 100644
> --- a/lib/atscppapi/examples/async_http_fetch/Makefile.am
> +++ b/lib/atscppapi/examples/async_http_fetch/Makefile.am
> @@ -15,7 +15,7 @@
> #  See the License for the specific language governing permissions and
> #  limitations under the License.
> 
> -AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include
> +AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

AM_CPPFLAGS should be used for preprocesser flags, so warning flags should go into AM_CXXFLAGS. You can pull this into an include file like we do for plugins.mk to reduce the amount of typing.

J