Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > _asm NOP problem: undeclared identifier
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 26th October 09:00
wu yongwei
External User
 
Posts: 1
Default _asm NOP problem: undeclared identifier



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! ]
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666