From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 0ED0B740032 for ; Mon, 21 Oct 2024 21:11:41 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=RXj+NT0ZUvMI/8U6pGkNE9LSDtdwyagWEiiXRx6UkZ8=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20240830; t=1729545101; v=1; x=1729804300; b=L9R9YqWGEFFMqFFz2SivEssQNZU9scWhvDoqXtA2vmSsIuFFVpcqw9t15JlUhtqSHNzykqvK fLn37T20SlRdIYb+aa6tmABIibyoMC58GPrFdytM6COVfB6bpHaUXNmIUpLsdsCgLkUHtg5peNA sjIScLjDTMRl21iBjZAsvDoJ3zFkTCoTeU415T7kyiW0oO9/RatS4E5VhJ1LwOqEzUKFm6SX8OH 3zP4ZAtg84QMKglorSSoylrE+WSrZMWlRQx5iPO9gGK2vHzgL5Mqgd5qvnuI39CtyiWE+x0W2K7 5Q73VeURYiQK6mJWGQTaSEA6xbyyhGNYlDHxw4KiMO/Hw== X-Received: by 127.0.0.2 with SMTP id tyVbYY7687511x7MeNCZTDLc; Mon, 21 Oct 2024 14:11:40 -0700 X-Received: from mail-vk1-f174.google.com (mail-vk1-f174.google.com [209.85.221.174]) by mx.groups.io with SMTP id smtpd.web11.3646.1729545099790824651 for ; Mon, 21 Oct 2024 14:11:39 -0700 X-Received: by mail-vk1-f174.google.com with SMTP id 71dfb90a1353d-50d2c02875cso1267661e0c.2 for ; Mon, 21 Oct 2024 14:11:39 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVwaZ8omTknLWqri/jx+wiXFuCgP/BZedbK+mYOK9xWbMmnFkYsj+xU8tPpBOoHlS5TTU/JDg==@edk2.groups.io X-Gm-Message-State: qcQ9UEoKKEn4m57qeov72Lkqx7686176AA= X-Google-Smtp-Source: AGHT+IHRDFb7ECzNGuJjQ+OOFKyEZog/qainUIfc+D8NbHhrXS0DL3KA3Gxppjqc9eXA+vlt2S/kcCzec1MumpZ7Qk4= X-Received: by 2002:a05:6122:a20:b0:50d:bfb2:4f2f with SMTP id 71dfb90a1353d-50dda165e77mr8525975e0c.2.1729545098728; Mon, 21 Oct 2024 14:11:38 -0700 (PDT) MIME-Version: 1.0 References: <20241011012040.274642-1-rebecca@bsdio.com> <591659ac-1d4a-43bd-b953-1032e5a7b8b0@linux.microsoft.com> <5a0d2a4f-a423-4ef3-a07b-18e69e7d1241@linux.microsoft.com> <5d45782d-26a8-45da-bbec-98715f1bb436@linux.microsoft.com> In-Reply-To: From: "Pedro Falcato" Date: Mon, 21 Oct 2024 22:11:27 +0100 Message-ID: Subject: Re: [edk2-devel] [edk2-CCodingStandardsSpecification PATCH 1/1] Prefer use of `static` C keyword over EDK2 type `STATIC` To: "Kinney, Michael D" Cc: Oliver Smith-Denny , "devel@edk2.groups.io" , "rebecca@bsdio.com" Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 21 Oct 2024 14:11:40 -0700 Resent-From: pedro.falcato@gmail.com Reply-To: devel@edk2.groups.io,pedro.falcato@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=L9R9YqWG; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io On Mon, Oct 21, 2024 at 10:04=E2=80=AFPM Kinney, Michael D wrote: > > I recall clang having more restrictions on redefining keywords. Clang has restrictions on redefining macros and builtin functions. It appears to not have any issues doing horrible unspeakable things with the C keywords and the C preprocessor: https://godbolt.org/z/eT6hWsEG5 --=20 Pedro -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120644): https://edk2.groups.io/g/devel/message/120644 Mute This Topic: https://groups.io/mt/108941574/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-