From patchwork Mon Jul 12 12:26:46 2021 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: 473096 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp2901823jao; Mon, 12 Jul 2021 05:41:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjWUEE1QjbLHrocFoym6iXhryAmk4cMhNFeXBt18ktKYXCSRMbB36w/E1xu/RCxFHx/mdD X-Received: by 2002:a67:ebd9:: with SMTP id y25mr17984444vso.55.1626093660075; Mon, 12 Jul 2021 05:41:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626093660; cv=none; d=google.com; s=arc-20160816; b=Ei/M12f3HlPiBERGp36ZkY9RcHPn1fxRUW5rKEe66UET1ufgz4mGVR3PaHFQIJvrjb oWTc+zuleEK36CGm/3uQuAQEfQRt+sKVUWlMLBTJgqyAxEn4TMJNt/SfjqrW8AehMdCS aDRmQq0RAhmqDfE8E8lEd/dMRAYOtfXFGfze4g6+lzxwWigpNJItb87FcUWsodlg0Wxt qN3Ke0mZmUZS7+e2/L1OMLv8FD5wCtpXuwzRGrzBzvxXwBQyV+LamDQ98mOeZYAJz5ph 69Ka8Vkm3CVkdw50xhM6l6ATvwM4V84OWpdQKBybfgSIEnJ6zyVuw7YfJAD0UJq2LWbu G7DQ== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=WoVJbMpdTXEKpoS9CcsUeUTDWRvb4b0qm9ZvuinWlrU=; b=hKhmxzTYk1FOnxR5AT59It6+Piv0XMVARYDI8gMR1sD0oW3YGIHe6mtaW1kovqhwri vhosdVbW/R94JCLoQ2duFmodnbh3weohttLzxYCRUsKRbms0uFxTsWYjU5phVDjUkIjV cUw9M44dXBBhzb1Tv2jAEfXM1mISodM0/pp0ulRzZzhemuYn44mFYDqSMKh39Z4yj7iw eJZAu9tVlLTSqUFyqz11tr/HsKMS20YnngxkZNfNDl9LNsqAsHpEfPy+idB82W1dTwUV ZTvtEkEwnQn5AdlCMPpqKVG9ZeBpZcPqabIqPMYadyoiY0Z59U/HNEjGJGyd1nWGbyfJ oLDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qLJ6uCig; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id y35si11925489uac.77.2021.07.12.05.40.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Jul 2021 05:41:00 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qLJ6uCig; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:55032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2vF3-00038Q-Sd for patch@linaro.org; Mon, 12 Jul 2021 08:40:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2v1z-0004VA-Mu for qemu-devel@nongnu.org; Mon, 12 Jul 2021 08:27:31 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:50862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2v1w-0008Ia-Dz for qemu-devel@nongnu.org; Mon, 12 Jul 2021 08:27:27 -0400 Received: by mail-wm1-x335.google.com with SMTP id l6so2996294wmq.0 for ; Mon, 12 Jul 2021 05:27:23 -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=WoVJbMpdTXEKpoS9CcsUeUTDWRvb4b0qm9ZvuinWlrU=; b=qLJ6uCig4bym35vyKp/twqzW3HESa/Ri591f3yFejsD654FNqeOU0UqLxn1Xd1zHIB bBRvyoD8w9Vem+jRpN5ihKH+re/zrLYRsF/5AFGbpAUWWhF2CYDSkqifbK6/b/BnYy5+ s3wNz/w/udcfYsvZK0ukrthh397dGNwVd5RHhyDBBaGkX9jDDsc/ney6BtSsKrieddib k9Ws25SlIcD/8q0RrcvkjocHCtxXSU9unEZMKYrSryHB2TgGBKQjZWe0qbRgsstTnvkv tthev7jvASY6j/pzhnSvBQkjYzSikLCFoVjkiIB7FLWk7IsSYcUyO3q/QWwjY/Rwqdek zVzg== 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=WoVJbMpdTXEKpoS9CcsUeUTDWRvb4b0qm9ZvuinWlrU=; b=am5F7hKQMbjAxUxC/rg0c4FouKglUWWtD2I0ZQOS3yKQB5BMqwfMF7HDhZ8c1k7VBO cxKmGh4Zl0Y49jCMFMsNuSjQYhUqJntT8dk28kis7vn+PRApomLYTWINc1EdUEZurJE1 KbgjyBfAAcccTEY0VUIVRUH6ECuU70E5sICFoYkMrj/QCQgYbck47t5rsj7YJDXsNbuS jz8xlEMY2ydi1YOGqnzWoI/S3Z1bdn16c6tgq9zQnuEcBE5dzHVfCAQJQZ4WzGket2sI jdv4cID0vM8aeM7irOVF+y5fRoz3Wih8JeOq4vuJhw+5765kSOLzzYasUA5suehr21xd 6fCg== X-Gm-Message-State: AOAM5312ZIXtfmeo38sGTTcIimws1ZCYxQdTePtnNEXFw0h5f8kjb75Y lDIIvhumCo+62kK5TVxwmyZ03Q== X-Received: by 2002:a05:600c:4f53:: with SMTP id m19mr52936321wmq.176.1626092842376; Mon, 12 Jul 2021 05:27:22 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a8sm10337396wrt.61.2021.07.12.05.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 05:27:12 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 4FCA41FFBB; Mon, 12 Jul 2021 13:26:57 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 33/40] contrib/plugins: enable -Wall for building plugins Date: Mon, 12 Jul 2021 13:26:46 +0100 Message-Id: <20210712122653.11354-34-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210712122653.11354-1-alex.bennee@linaro.org> References: <20210712122653.11354-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , Richard Henderson , qemu-devel@nongnu.org, Alexandre Iooss , Mahmoud Mandour , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Lets spot the obvious errors. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Message-Id: <20210709143005.1554-34-alex.bennee@linaro.org> -- 2.20.1 diff --git a/contrib/plugins/Makefile b/contrib/plugins/Makefile index b9d7935e5e..3431bc1ce9 100644 --- a/contrib/plugins/Makefile +++ b/contrib/plugins/Makefile @@ -24,7 +24,7 @@ SONAMES := $(addsuffix .so,$(addprefix lib,$(NAMES))) # The main QEMU uses Glib extensively so it's perfectly fine to use it # in plugins (which many example do). CFLAGS = $(GLIB_CFLAGS) -CFLAGS += -fPIC +CFLAGS += -fPIC -Wall $(filter -W%, $(QEMU_CFLAGS)) CFLAGS += $(if $(findstring no-psabi,$(QEMU_CFLAGS)),-Wpsabi) CFLAGS += -I$(SRC_PATH)/include/qemu