c define multiline macro?

前端 未结 6 1427
滥情空心
滥情空心 2021-02-05 18:32
#define DEBUG_BREAK(a)\\
    if ((a)) \\
{\\
    __asm int 3;\\
}

I have defined a macro as above, and try to use it

#include \"test_d         


        
6条回答
  •  时光取名叫无心
    2021-02-05 19:13

    That's weird, but getting {int 3} into brackets helps. And combining macro into singleliner doesn't. So it should be something about assembly, not the multilining.

提交回复
热议问题