error: 'FILE' undeclared (first use in this function)
来源:互联网 发布:暗黑破坏神3 数据库 编辑:程序博客网 时间:2024/05/01 13:53
error: 'FILE' undeclared (first use in this function)
今天在打trace调试底层代码的时候添加:
{FILE* fp = fopen("/sdcard/gaomatrix.txt","a+");if(fp){ fprintf(fp, "XXE_RefMode_A1 \n"); fclose(fp);}}
原来是少添加了:#include <stdio.h>
- error: 'FILE' undeclared (first use in this function)
- [kernel]: error: ‘PATH_MAX’ undeclared (first use in this function)
- error: 'FALSE' undeclared (first use in this function)
- error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
- error: ‘IPPROTO_RAW’ undeclared (first use in this function)
- error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
- error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
- [kernel]: error: ‘PATH_MAX’ undeclared (first use in this function)
- error: ‘SA_INTERRUPT’ undeclared (first use in this function)
- error: ‘PATH_MAX’ undeclared (first use in this function)
- 问题解决: error: ‘SCM_CREDENTIALS’ undeclared (first use in this function)
- NF_IP_PRE_ROUTING’ undeclared (first use in this function)
- 'O_BINARY' undeclared (first use in this function)
- `pid_t' undeclared (first use in this function)
- error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)和error: 'TASK_NORMAL' undeclare
- drivers/video/console/vgacon.c:486: error: 'PCIMEM_BASE' undeclared (first use in this function)
- fs/binfmt_aout.c:256:30: error: 'SEGMENT_SIZE' undeclared (first use in this function)
- mainarg.c:7:20: error: ‘argc’ undeclared (first use in this function)
- MEMCACHED(2) 网络线程模型
- joomla源代码探析续(二十七)组件后台如何设置参数
- joomla源代码探析续(二十八) 如何扩展JTable类
- 设置控成为焦点(Focus)和设置WebForm窗体默认按钮(Default Button)
- android.app.Activity
- error: 'FILE' undeclared (first use in this function)
- QT 模仿QQ的截图框 支持基本的拖拉 移动 固定大小 可以复制到剪贴板和保存到文件中
- joomla源代码探析续(二十九) JHTML 与JHTMLSelect 类的使用
- 安装 Debian
- 应用程序基础
- 任务与活动栈
- 改变自己,想让你不离不弃!
- MEMCACHED(3) SLAB内存池
- ASP.NET 控件焦点和默认按钮