From 9b22b02374d3cb83ec6a94312b26bd17d4182eda Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Fri, 15 May 2026 15:34:06 -0700 Subject: [PATCH 1/2] Pick markdown lint --- .github/copilot-instructions.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index eeaf883..38cb1b9 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -492,8 +492,7 @@ Use these established guards — do not invent new ones: | `_M_ARM64` / `_M_X64` / `_M_IX86` | Architecture-specific code paths for MSVC (`#ifdef`) | | `_M_ARM64EC` | ARM64EC ABI (ARM64 code with x64 interop using ARM-NEON) for MSVC | | `__aarch64__` / `__x86_64__` / `__i386__` / `__powerpc64__` | Additional architecture-specific symbols for MinGW/GNUC (`#if`) | - -> `_M_ARM` / `__arm__` is legacy 32-bit ARM which is deprecated. +| `_M_ARM` / `__arm__` | This is the legacy 32-bit Windows on ARM which is deprecated.| > GNU predefined architecture macros (`__aarch64__`, `__x86_64__`, `__i386__`, `__powerpc64__`, `__arm__`) are always defined to `1` by the compiler — they are **not** merely defined/undefined like MSVC's `_M_ARM64`. Use them **bare** (without `defined()`) in `#if` expressions: `#if __aarch64__`, not `#if defined(__aarch64__)`. Using `defined()` is technically valid but inconsistent with the project's convention and suppresses `-Wundef` unnecessarily. From d42fb6addd525b8307f596c0122cb81ee12614fa Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Fri, 15 May 2026 16:17:39 -0700 Subject: [PATCH 2/2] More lint --- .github/copilot-instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 38cb1b9..a8667f2 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -492,7 +492,7 @@ Use these established guards — do not invent new ones: | `_M_ARM64` / `_M_X64` / `_M_IX86` | Architecture-specific code paths for MSVC (`#ifdef`) | | `_M_ARM64EC` | ARM64EC ABI (ARM64 code with x64 interop using ARM-NEON) for MSVC | | `__aarch64__` / `__x86_64__` / `__i386__` / `__powerpc64__` | Additional architecture-specific symbols for MinGW/GNUC (`#if`) | -| `_M_ARM` / `__arm__` | This is the legacy 32-bit Windows on ARM which is deprecated.| +| `_M_ARM` / `__arm__` | This is the legacy 32-bit Windows on ARM which is deprecated. | > GNU predefined architecture macros (`__aarch64__`, `__x86_64__`, `__i386__`, `__powerpc64__`, `__arm__`) are always defined to `1` by the compiler — they are **not** merely defined/undefined like MSVC's `_M_ARM64`. Use them **bare** (without `defined()`) in `#if` expressions: `#if __aarch64__`, not `#if defined(__aarch64__)`. Using `defined()` is technically valid but inconsistent with the project's convention and suppresses `-Wundef` unnecessarily.