在QtCreator中编辑一个项目,使用windows系统下的pcap抓包工具,
有以下报错:D:\...\include\xkeycheck.h:260: error: C1189: #error:
The C++ Standard Library forbids macroizing keywords.
Enable warning C4005 to find the forbidden macro.查了好多资料,记录一下解决办法。
解决方法,注释掉pcap-stdinc.h里的://#define inline __inline