Skip to content

Commit 7d5b27e

Browse files
authored
Update date and wording in C2290 error documentation
minor edit
1 parent b3e3f96 commit 7d5b27e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Compiler Error C2290"
33
description: "Learn more about: Compiler Error C2290"
4-
ms.date: 08/23/2025
4+
ms.date: 12/5/2025
55
f1_keywords: ["C2290"]
66
helpviewer_keywords: ["C2290"]
77
---
@@ -11,19 +11,19 @@ helpviewer_keywords: ["C2290"]
1111
1212
## Remarks
1313

14-
The **`asm`** syntax is reserved for future use, try [`__asm`](../../assembler/inline/asm.md) instead. For more information, see [Inline Assembler](../../assembler/inline/inline-assembler.md).
14+
The **`asm`** syntax is reserved for future use. Try [`__asm`](../../assembler/inline/asm.md) instead. For more information, see [Inline Assembler](../../assembler/inline/inline-assembler.md).
1515

1616
## Example
1717

1818
The following example generates C2290:
1919

2020
```cpp
2121
// C2290.cpp
22-
// processor: x86
22+
// Compile for 32 bit, i.e. x86 instead of x64
2323

2424
int main()
2525
{
2626
asm("nop"); // C2290
27-
__asm nop // OK
27+
__asm { nop } // OK
2828
}
2929
```

0 commit comments

Comments
 (0)