
error
Rice__
走走停停
展开
-
Linux的奇怪错误记录
error: ‘for’ loop initial declarations are only allowed in C99 modefor(int i = 0; i < 31; i++){note提示里面已有解决方法note: use option -std=c99 or -std=gnu99 to compile your code所以gcc只需要添加参数: gcc -std=c99 target.cerror: unknown type name ‘sigset_t.原创 2020-07-08 17:20:49 · 1865 阅读 · 0 评论 -
一些奇怪的代码错误记录
严重性 代码 说明 项目 文件 行 禁止显示状态错误 C4996 ‘getch’: The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _getch. See online help for details. ConsoleApplication2 c:\users\...原创 2018-10-11 23:07:31 · 2175 阅读 · 0 评论