From patchwork Fri Aug 10 17:10:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 143954 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp199940ljj; Fri, 10 Aug 2018 10:13:44 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzUwhnh9CUrJ/u4NK4gu/Pu0IUsnM27aN49JT0JfgCttNrX4pGiegTUelKC7HuDHuNPlA24 X-Received: by 2002:a0c:ad3a:: with SMTP id u55-v6mr6625955qvc.132.1533921224142; Fri, 10 Aug 2018 10:13:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533921224; cv=none; d=google.com; s=arc-20160816; b=uy1X86MbZa3vwMo2QGoe88GGU4oxhsx1UmfzXtn5LcH7lV8w7pu7lHrWbP2XHUJc1g m1BPI3wtdoc1r2vBx4peDyaq8qEIvR7s6aNTAoCsFNldmi29x+eCwRA6H4kAYzHRHhbw g20dj/Bu1WxqDB93rV2YK1HTy2scPHqiaMLsjyjPKYB9ajJVpoGiyotL+HLSN9GsVgdE pP4dlASuo3tOnm6R7s4Mxvq7XFdfywGD1Z6HE9GjF5Y6ojOTZ7uSOQZBufhDKAENH9dV /ykeXWk/1kW3DLrraxQSnY7J0aJ1kZJboY4Fuub53i+4Y6lG38Va231o6iSx17NrHcKO 4RwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=KguP9rDeE8FS/LUWbwBYTohDB8KddOLpNSgmG7ObsvM=; b=h43/4cVwbVIVGkg/0pye+gB9PmGDnbGgziPw3BHPAwUeVxwxpcxhMldf89b4HBaYPx eBNTeFp5I4iquZXtkt4/TeNrdjpk2QcT0QW0ePsq65bAZ246Hbj72Zo+jGq0xXdh0GJX M4CowC4AoIVcu5cmmXTMCfnp35pcsyPnbA6W0GN1SnklhRCKQhXnzf9MVueUgEC+ITON VB7lBFZVONnsPEkNfCeHxXJ2otD6Apj1YZMSFuCuSRDBmkoSvTbKDnotM5pah+mXXcsO xktKMOah8fZuPhCV/SWa7NX/g+7Iga7TzTas3XkNhBHBxA1XYQ94rIUA5s0+R8YPMf3X v+eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Lm1wdjXU; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id u7-v6si1463414qve.109.2018.08.10.10.13.43 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 10 Aug 2018 10:13:44 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Lm1wdjXU; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:57348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foAyt-0000Pm-Lj for patch@linaro.org; Fri, 10 Aug 2018 13:13:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foAwO-00074m-QD for qemu-devel@nongnu.org; Fri, 10 Aug 2018 13:11:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1foAwL-0007hF-DZ for qemu-devel@nongnu.org; Fri, 10 Aug 2018 13:11:08 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:42914) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1foAwL-0007fT-5H for qemu-devel@nongnu.org; Fri, 10 Aug 2018 13:11:05 -0400 Received: by mail-wr1-x441.google.com with SMTP id e7-v6so8889488wrs.9 for ; Fri, 10 Aug 2018 10:11:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KguP9rDeE8FS/LUWbwBYTohDB8KddOLpNSgmG7ObsvM=; b=Lm1wdjXU3tMY/oBkhSH5ahz0SZJNswRJ7YSN9oQAmV6n7drF+GotqjNXYy5LZM8siE 5BvuM477lWKUOA5bPwUi/HlZ5A0bTj6HACJLez4ZjpIdMdA6zwzfSc970ELkvqPq1ACP eusMEw87NxspX3aGp/PyB1Er+MaSq/svo0MTw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KguP9rDeE8FS/LUWbwBYTohDB8KddOLpNSgmG7ObsvM=; b=c2Wr2lY25+YOSeaZY/qqH5EK9VYY8J+rDW1q+H6Vl++Ik9H+Yr3RhYdTll0WKT+94Z LI2GfdnXy9j5TT5iLn7YNsrssyKAtmnxf8ISFrpB7xKRbn2x4jDI7uOCsEs+Ad0JnhS2 T8gpfZVTZil86XvqfCnC+bMfVGoPv3QW3KqdwaSlUHzqG3vI+tad59opIFmYiKNuyEap BnpSGerwy576Q851xU6guzpuUyrc4kNjEPQWUlbPWiwcWJXFoTxs0GMbyqOhOvgdZXf3 BAYtxW4IwWOsD1FG00m5o9KfbWcDPvFNjMkr/HPRle8DkKwDk1JLSmpwYt4cVvFPGGKn KT4Q== X-Gm-Message-State: AOUpUlGBf2+IV/vyaZ2PFfV2zC0vmLjiGWVf1kurJ7iVW5h1z+2mTOsv yoUS5HsB3vX1Qv4XwynEagyoDoKTsWQ= X-Received: by 2002:a5d:5349:: with SMTP id t9-v6mr4641831wrv.186.1533921063531; Fri, 10 Aug 2018 10:11:03 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id a9-v6sm12923947wrp.55.2018.08.10.10.11.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Aug 2018 10:11:02 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 0FA013E061C; Fri, 10 Aug 2018 18:11:02 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Fri, 10 Aug 2018 18:10:58 +0100 Message-Id: <20180810171102.16451-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 Subject: [Qemu-devel] [RFC PATCH 0/3] tweaks for QEMU's C standard X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, While I was reviewing Richard's SVE series I found Travis choking on some perfectly valid c99. It turns out that Travis default image is old enough that gcc defaults to -std=gnu89 hence the problem. However switching to c99 isn't enough as we use GNUisms and even gnu99 still trips up on qemu-secomp. Of course we could just jump to C11 already? This is an RFC because this could descend into a C standards bike-shedding exercise but I thought I'd at least put it out there on a Friday afternoon ;-) Alex Bennée (3): HACKING: mention the C GNU extensions we use qemu-seccomp: manually expand SCMP_A1 .travis.yml: ensure we support C99 on old compilers .travis.yml | 2 +- HACKING | 5 +++++ qemu-seccomp.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) -- 2.17.1