From patchwork Thu May 24 11:20:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: alexandros.frantzis@linaro.org X-Patchwork-Id: 8946 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id AD3FB1991E1 for ; Thu, 24 May 2012 11:20:20 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 7DA0BA184F1 for ; Thu, 24 May 2012 11:20:20 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id f1so9270958ggn.11 for ; Thu, 24 May 2012 04:20:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type:mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state; bh=vuXd0NuJct32q12h26RKGdyO01r8SIAmyQFxcB63gC4=; b=o8tUn1RNWN4BYVO61gedMnA93NQyp/symqEjuL0SWtc62gwCud+5XZtoCUK8hLBemN MW1MIdiMkwjPBDDmsdNhvXR4jSpnGydjulh7GmW/zSQ7rfHDuhL9HrZdr2q8GF3xwJua BCFb8XMfPDQod5fMf5wrFzzw3XXh+gElODYcpMmdDUhYlNGheRD2WBUqzDO8xJZMeYPv bs3X3biIfNN7R7cqNbbc3ROztZEfJBIJUewbtWyKe9X1INQjLCRya6ct5Gd03z+nMLBt /5pXpQqeO8+qT9ELt17OWTuVAsdlb2nfyd2rSGkKMkQsLbrrZqTMSRtaxcbjkGLaOOtl +99Q== Received: by 10.50.163.99 with SMTP id yh3mr15689635igb.53.1337858420065; Thu, 24 May 2012 04:20:20 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.35.72 with SMTP id o8csp31759ibd; Thu, 24 May 2012 04:20:16 -0700 (PDT) Received: by 10.180.103.42 with SMTP id ft10mr53979314wib.18.1337858416131; Thu, 24 May 2012 04:20:16 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id 16si27780311wet.60.2012.05.24.04.20.15 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 May 2012 04:20:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1SXW5X-0000yJ-Br for ; Thu, 24 May 2012 11:20:15 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 43E54E013D for ; Thu, 24 May 2012 11:20:15 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: glmark2 X-Launchpad-Branch: ~glmark2-dev/glmark2/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 217 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~glmark2-dev/glmark2/trunk] Rev 217: Android: Don't treat unused parameter warnings as errors when building with the NDK. Message-Id: <20120524112015.17302.70776.launchpad@ackee.canonical.com> Date: Thu, 24 May 2012 11:20:15 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="15288"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: b7b8273ba9fad62ed5953d62b6247ca614c4811d X-Gm-Message-State: ALoCoQkH5Bb/GPrtTJ8gcqUGJwSVDvcLKadgsa7YYlP9yaeSrVU8HvchTEjBoXacdUZ3E0Jf8iyx ------------------------------------------------------------ revno: 217 committer: Alexandros Frantzis branch nick: trunk timestamp: Thu 2012-05-24 12:25:58 +0300 message: Android: Don't treat unused parameter warnings as errors when building with the NDK. The stlport C++ library exports code with unused parameters, causing builds to fail if we treat unused parameter warnings as errors. modified: android/jni/Android.ndk.mk --- lp:glmark2 https://code.launchpad.net/~glmark2-dev/glmark2/trunk You are subscribed to branch lp:glmark2. To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription === modified file 'android/jni/Android.ndk.mk' --- android/jni/Android.ndk.mk 2012-05-07 22:31:59 +0000 +++ android/jni/Android.ndk.mk 2012-05-24 09:25:58 +0000 @@ -4,7 +4,8 @@ LOCAL_CPP_EXTENSION := .cc LOCAL_MODULE := libglmark2-matrix -LOCAL_CFLAGS := -DUSE_GLESv2 -Werror -Wall -Wextra -Wnon-virtual-dtor +LOCAL_CFLAGS := -DUSE_GLESv2 -Werror -Wall -Wextra -Wnon-virtual-dtor \ + -Wno-error=unused-parameter LOCAL_C_INCLUDES := $(LOCAL_PATH)/src LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(wildcard $(LOCAL_PATH)/src/libmatrix/*.cc)) @@ -22,7 +23,7 @@ LOCAL_CPP_EXTENSION := .cc LOCAL_MODULE := libglmark2-ideas LOCAL_CFLAGS := -DGLMARK_DATA_PATH="" -DUSE_GLESv2 -Werror -Wall -Wextra\ - -Wnon-virtual-dtor + -Wnon-virtual-dtor -Wno-error=unused-parameter LOCAL_C_INCLUDES := $(LOCAL_PATH)/src \ $(LOCAL_PATH)/src/libmatrix LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(wildcard $(LOCAL_PATH)/src/scene-ideas/*.cc)) @@ -35,7 +36,8 @@ LOCAL_MODULE := libglmark2-android LOCAL_STATIC_LIBRARIES := libglmark2-matrix libglmark2-png libglmark2-ideas LOCAL_CFLAGS := -DGLMARK_DATA_PATH="" -DGLMARK_VERSION="\"2012.03\"" \ - -DUSE_GLESv2 -Werror -Wall -Wextra -Wnon-virtual-dtor + -DUSE_GLESv2 -Werror -Wall -Wextra -Wnon-virtual-dtor \ + -Wno-error=unused-parameter LOCAL_LDLIBS := -landroid -llog -lGLESv2 -lEGL -lz LOCAL_C_INCLUDES := $(LOCAL_PATH)/src \ $(LOCAL_PATH)/src/libmatrix \