diff --git a/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4235.md b/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4235.md index b555d0df57..5cb82b3437 100644 --- a/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4235.md +++ b/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4235.md @@ -1,7 +1,7 @@ --- -description: "Learn more about: Compiler Warning (level 1, Error) C4235" title: "Compiler Warning (level 1, Error) C4235" -ms.date: "11/04/2016" +description: "Learn more about: Compiler Warning (level 1, Error) C4235" +ms.date: 07/27/2025 f1_keywords: ["C4235"] helpviewer_keywords: ["C4235"] --- @@ -9,6 +9,22 @@ helpviewer_keywords: ["C4235"] > nonstandard extension used: '*keyword*' keyword not supported on this architecture -The compiler doesn't support the keyword you used on the architecture your build is targeting. +## Remarks + +The compiler doesn't support the keyword you used on the architecture your build is targeting. For example, the [`__asm`](../../assembler/inline/asm.md) keyword is not supported in x64 builds. This warning is always issued as an error. Use the [warning](../../preprocessor/warning.md) pragma to disable. + +## Example + +The following example generates C4235 as the [Inline Assembler](../../assembler/inline/inline-assembler.md) is only supported on x86: + +```cpp +// C4235.cpp +// processor: x64 + +int main() +{ + __asm nop // C4235 +} +```