标签:
晚上用cmake生成了一份lua-cjson的工程文件,msvc6的
编译时报错
后来再stackoverflow找到答案:unable to use inline in declaration get error C2054
解决方法:
Use
__inline
with MSVC.
inline
is a c99 keyword and c99 is not yet (fully) supported with MSVC."The inline keyword is available only in C++. The __inline and __forceinline keywords are available in both C and C++. For compatibility with previous versions, _inline is a synonym for __inline."
MSVC 报错 unable to use inline in declaration get error C2054
标签:
原文地址:http://www.cnblogs.com/passedbylove/p/4803679.html