1. gcc 6新增编译警告
1.1 literal-suffix——宏和字符串中间要加空格
unlink(FILE_DIR "/" TRIGSCENE_FILE);
即宏后面允许为字符串,而宏前面有字符串常量必须空一格。
invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix
阅读 48
2022-09-16
unlink(FILE_DIR "/" TRIGSCENE_FILE);
即宏后面允许为字符串,而宏前面有字符串常量必须空一格。
相关推荐
精彩评论(0)