![]() |
|
|
|
|
1
26th October 09:00
External User
Posts: 1
|
With a simple test I realized it was because you used the "/Za" option
in MSVC, which disables Microsoft extensions (for others, "_asm NOP" is valid MSVC code). To make code work under such conditions, you should "mark" the keyword "asm" as non-standard: use "__asm" instead of "_asm". Best regards, Yongwei [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] |
|
|
|