09 2015 档案
MSVC 报错 unable to use inline in declaration get error C2054
摘要:晚上用cmake生成了一份lua-cjson的工程文件,msvc6的 编译时报错 后来再stackoverflow找到答案:unable to use inline in declaration get error C2054 解决方法: Use __inline with MSVC. inline
阅读全文
error C2065: 'INVALID_SET_FILE_POINTER' : undeclared identifier
摘要:Searching MSDN for that constant brings up one result: it's a failure code for SetFilePointer() and is defined in winbase.h, which is included in any
阅读全文
sublime text保存时删除行尾空格
摘要:打开sublime text,点击在Preferences, Settings-User打开的用户配置中加入以下一行: "trim_trailing_white_space_on_save": true 完整的配置如下 此功能在保存代码时自动应用于当前编辑的文件。 保存前: 使用sublime保存后
阅读全文
Sublime 保存时自动转换tab成空格
摘要:将非代码块的空格替换成tab
阅读全文