From patchwork Thu Jul 21 12:36:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandros Frantzis X-Patchwork-Id: 2987 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 A188323F4D for ; Thu, 21 Jul 2011 12:43:48 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 6AE6EA18398 for ; Thu, 21 Jul 2011 12:43:48 +0000 (UTC) Received: by mail-qw0-f52.google.com with SMTP id 8so854415qwb.11 for ; Thu, 21 Jul 2011 05:43:48 -0700 (PDT) Received: by 10.229.68.200 with SMTP id w8mr191728qci.114.1311252226453; Thu, 21 Jul 2011 05:43:46 -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.229.217.78 with SMTP id hl14cs139556qcb; Thu, 21 Jul 2011 05:43:46 -0700 (PDT) Received: by 10.227.60.143 with SMTP id p15mr195068wbh.37.1311251796101; Thu, 21 Jul 2011 05:36:36 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id o5si2369682wbh.133.2011.07.21.05.36.35; Thu, 21 Jul 2011 05:36:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QjsUU-0000Cu-5N for ; Thu, 21 Jul 2011 12:36:34 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 3AB8F2E889B for ; Thu, 21 Jul 2011 12:36:33 +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: 44 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~glmark2-dev/glmark2/trunk] Rev 44: Silence compiler warnings. Message-Id: <20110721123633.17019.41595.launchpad@loganberry.canonical.com> Date: Thu, 21 Jul 2011 12:36:33 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13475"; Instance="initZopeless config overlay" X-Launchpad-Hash: ef13972e9f4d769b438cdfd4097d78fe6817f482 ------------------------------------------------------------ revno: 44 committer: Alexandros Frantzis timestamp: Mon 2010-07-12 17:03:14 +0300 message: Silence compiler warnings. modified: src/main.cpp wscript --- 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 'src/main.cpp' --- src/main.cpp 2010-07-12 13:37:04 +0000 +++ src/main.cpp 2010-07-12 14:03:14 +0000 @@ -7,8 +7,13 @@ #include "screen-sdl-glesv2.h" #endif +#define UNUSED_PARAM(x) (void)(x) + int main(int argc, char *argv[]) { + UNUSED_PARAM(argc); + UNUSED_PARAM(argv); + SDL_Event event; int running = 1; unsigned current_scene = 0; === modified file 'wscript' --- wscript 2010-07-12 13:37:04 +0000 +++ wscript 2010-07-12 14:03:14 +0000 @@ -62,7 +62,7 @@ conf.check_cfg(package = pkg, uselib_store = uselib, args = '--cflags --libs', mandatory = mandatory) - conf.env.append_unique('CXXFLAGS', '-Wall -Wextra -pedantic'.split(' ')) + conf.env.append_unique('CXXFLAGS', '-Wall -Wextra -fms-extensions'.split(' ')) # Prepend -O# and -g flags so that they can be overriden by the CFLAGS environment variable if Options.options.opt: