From patchwork Thu Sep 22 10:52:16 2011 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: 4253 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 F138A23EF5 for ; Thu, 22 Sep 2011 10:52:20 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id E66ACA18642 for ; Thu, 22 Sep 2011 10:52:20 +0000 (UTC) Received: by mail-fx0-f52.google.com with SMTP id 23so3657845fxe.11 for ; Thu, 22 Sep 2011 03:52:20 -0700 (PDT) Received: by 10.223.74.89 with SMTP id t25mr2843976faj.65.1316688740825; Thu, 22 Sep 2011 03:52: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.152.18.198 with SMTP id y6cs163866lad; Thu, 22 Sep 2011 03:52:20 -0700 (PDT) Received: by 10.216.132.212 with SMTP id o62mr156238wei.19.1316688736713; Thu, 22 Sep 2011 03:52:16 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id u57si1505192weq.133.2011.09.22.03.52.16 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Sep 2011 03:52: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 1R6gt6-00013Q-8b for ; Thu, 22 Sep 2011 10:52:16 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 387BBE1837 for ; Thu, 22 Sep 2011 10:52:16 +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: 145 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~glmark2-dev/glmark2/trunk] Rev 145: SceneDesktop: Include cstdlib header file to fix compilation with older compilers. Message-Id: <20110922105216.18991.47658.launchpad@ackee.canonical.com> Date: Thu, 22 Sep 2011 10:52:16 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13996"; Instance="initZopeless config overlay" X-Launchpad-Hash: 48ebbc4d8132b5fad2299000ddbbb28391c2b580 ------------------------------------------------------------ revno: 145 committer: Alexandros Frantzis branch nick: trunk timestamp: Wed 2011-09-21 18:00:40 +0300 message: SceneDesktop: Include cstdlib header file to fix compilation with older compilers. Older compiler versions are not able to convert int arguments to float in calls to std::abs() provided by cmath. Include cstdlib header to get the integer version of std::abs(). modified: src/scene-desktop.cpp --- 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/scene-desktop.cpp' --- src/scene-desktop.cpp 2011-09-19 16:18:59 +0000 +++ src/scene-desktop.cpp 2011-09-21 15:00:40 +0000 @@ -20,6 +20,7 @@ * Alexandros Frantzis (glmark2) */ #include +#include #include "scene.h" #include "mat.h"