I have the following snippet of inline assembly code in my ConstHeader.h file:
When compiling, I get the following error:Code:#define REG_AP(mr,reg_flag) \ ({ \ reg_flag \ __asm__ ("pushl %0\n" :"=m"(*mr)); __asm__ ("call 0x8000\n"); }) /* FYI this is line 81 */
I have tried lots of ways to fix it but cannot figure out why I am getting this error. Any ideas?Code:../ConstHeader.h:81: error: expected identifier or `(' before `}' token ../ConstHeader.h:81: error: expected identifier or `(' before `)' token