From nobody Fri Apr 26 13:44:59 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1683270487879271.7364726827658; Fri, 5 May 2023 00:08:07 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id 8B66522A8A; Fri, 5 May 2023 07:08:03 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id 6328222A61 for ; Fri, 5 May 2023 07:07:50 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-146-EM5Jj_Q4PKOtF1wOkQcl8A-1; Fri, 05 May 2023 03:07:48 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BB28E3806070 for ; Fri, 5 May 2023 07:07:47 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8AF87C16024; Fri, 5 May 2023 07:07:46 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) id A84D818000A6; Fri, 5 May 2023 09:07:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683270469; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sWRnVvYcMVyM6orNCF60w9BY1OfgvvJxJ0gqeJjD8jE=; b=EzeuSmwAV1f/4XYpN+O6+f5U32eZ1g9Id3tCZ72hOzjPRpEx+AtJo6jFA/Iljyugd7Gx55 u6nfurnyVuL/ItjBd6PMtjcD4SJc6OFqg15Y0gg186I6dDcYJAb36R2kfLe1kgKKhh+jQL rcWYxg83PFqxXcqBRooCbNGYqEgZgqs= X-MC-Unique: EM5Jj_Q4PKOtF1wOkQcl8A-1 From: Gerd Hoffmann To: seabios@seabios.org Date: Fri, 5 May 2023 09:07:45 +0200 Message-Id: <20230505070745.368915-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: BHVGTHATFZ5OBOQFDJ4R6O4XHAFOQF74 X-Message-ID-Hash: BHVGTHATFZ5OBOQFDJ4R6O4XHAFOQF74 X-MailFrom: kraxel@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Gerd Hoffmann X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [SeaBIOS] [PATCH] disable array bounds warning List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-Spamd-Bar: - X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1683270489329100001 Content-Type: text/plain; charset="utf-8"; x-default="true" The segmented pointer casting magic confuses gcc, recent versions throw array bound warnings. Disable the warning. Signed-off-by: Gerd Hoffmann --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c108f87de768..d3341870a760 100644 --- a/Makefile +++ b/Makefile @@ -71,6 +71,7 @@ COMMONCFLAGS +=3D $(call cc-option,$(CC),-fno-stack-prote= ctor,) COMMONCFLAGS +=3D $(call cc-option,$(CC),-fno-stack-protector-all,) COMMONCFLAGS +=3D $(call cc-option,$(CC),-fstack-check=3Dno,) COMMONCFLAGS +=3D $(call cc-option,$(CC),-Wno-address-of-packed-member,) +COMMONCFLAGS +=3D $(call cc-option,$(CC),-Wno-array-bounds,) COMMONCFLAGS +=3D $(call cc-option,$(CC),-fcf-protection=3Dnone,) COMMA :=3D , =20 --=20 2.40.1 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org