關於does not give a valid preprocessing token

#define VFUNC(self)                    ((##self##)->_vptr)    .net

這樣在gcc下會編譯失敗, VC不會blog

報pasting ) does not give a valid preprocessing tokentoken

聽說是由於版本問題get

解法:去掉##編譯

define VFUNC(self)                    ((self)->_vptr)    ast

參考:gcc

https://bbs.csdn.net/topics/300111770gc

https://blog.csdn.net/liangshoulong/article/details/76695795top

相關文章
相關標籤/搜索