From patchwork Fri Aug 10 17:11:01 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: 956345 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=208.118.235.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="YY2o8mFs"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41nBVr3Xfqz9s5b for ; Sat, 11 Aug 2018 03:11:48 +1000 (AEST) Received: from localhost ([::1]:57337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foAx0-00076C-5Y for incoming@patchwork.ozlabs.org; Fri, 10 Aug 2018 13:11:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foAwP-00074o-6b for qemu-devel@nongnu.org; Fri, 10 Aug 2018 13:11:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1foAwO-0007kO-5w for qemu-devel@nongnu.org; Fri, 10 Aug 2018 13:11:09 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:54902) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1foAwO-0007jL-0f for qemu-devel@nongnu.org; Fri, 10 Aug 2018 13:11:08 -0400 Received: by mail-wm0-x243.google.com with SMTP id c14-v6so2634992wmb.4 for ; Fri, 10 Aug 2018 10:11:07 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=0OA0SwdDN07sFJaNhSWmebyG1GQbLnSIMecL479MM7s=; b=YY2o8mFs819K/vNRTJGtRfm5cDVlQl/+0P5jHlQOWSHtyNVBQofiDlI1NyvmxWH4NJ sFo/N1w9QKFGaHQ/wZhCF57gGYLOuPGqFJo7jOXlQHnE3sSNz+XTemdHBzhH4QH/+RcY beE0LM10gpr1gUMlnE9T7iTKwMyKvA+LvUQQU= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=0OA0SwdDN07sFJaNhSWmebyG1GQbLnSIMecL479MM7s=; b=SS9sQGTbJHchd43zbswmcWjXCqu+80r4ffK1/ZteC1bEu9wCl2bvl2FEdr59C+5i96 y6zuxIFP7SXfBOMhoh5vtEqc6j7lqriuFQ4ZCbd8T43M45XxTYYnUHcb9SQT54exjOyj Gitw4nnXXy/gZa6VAPr53Svz9JlGxxKSHAaHISnk5Z4WlrqcI9KotniCX5Jb9eYu7nx/ aWJgxjBWxznjQaQvvT3sbY63V3ZIN/SVUnP78mTsWjsRSoAeUqaVPXg5iaoVjnclr8ny n71qjFcAEjnbdVRVjZPXR1XwwxV7nU8l1fHzRdXWK/nojTEheQJGDrKl34uSBnmjr2C/ 3ILQ== X-Gm-Message-State: AOUpUlEUkzyxLI23XwtdclN27QJUBwnq4fdCUfbYVbioTd4d3TyNbyMC 0p9ChwxhWpgc7i0XduaOKEt9Fw== X-Google-Smtp-Source: AA+uWPxVfkpy4JIDW6eK4ygGlfYwHOn4cjan6gfrfxbCGtDx5actl+HpVZpap6TKdRupwWs3L3hlsA== X-Received: by 2002:a1c:4489:: with SMTP id r131-v6mr1967389wma.128.1533921066996; Fri, 10 Aug 2018 10:11:06 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id b22-v6sm2768838wme.48.2018.08.10.10.11.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Aug 2018 10:11:03 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 46C923E063A; 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:11:01 +0100 Message-Id: <20180810171102.16451-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180810171102.16451-1-alex.bennee@linaro.org> References: <20180810171102.16451-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::243 Subject: [Qemu-devel] [RFC PATCH 3/3] .travis.yml: ensure we support C99 on old compilers 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: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The default Travis gcc is so old it default to -std=gnu89 which will fall over on some c99ism you are allowed to use in the QEMU source tree. As we also use some GNU extensions make it -std=gnu99 instead of -std=c99. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 95be6ec59f..9c61750be0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -72,7 +72,7 @@ before_install: - git submodule update --init --recursive capstone dtc ui/keycodemapdb before_script: - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - - ${SRC_DIR}/configure ${CONFIG} || { cat config.log && exit 1; } + - ${SRC_DIR}/configure ${CONFIG} --extra-cflags=-std=gnu99 || { cat config.log && exit 1; } script: - make ${MAKEFLAGS} && ${TEST_CMD} matrix: