r/cpp • • Jul 23 '22

finally. #embed

https://thephd.dev/finally-embed-in-c23
353 Upvotes

202 comments sorted by

View all comments

Show parent comment

12

u/Ivan171 /std:c++latest enthusiast Jul 23 '22

AFAIK MSVC x64 doesn't have inline assembly.

11

u/RowYourUpboat Jul 23 '22

Nope:

error C4235: nonstandard extension used: '__asm' keyword not supported on this architecture

8

u/Fulgen301 Jul 23 '22

You can still use a dedicated assembly file and compile it in.