mpeg4ip.h:126: error: new declaration ‘char*
2016-02-28 11:48
417 查看
编译FAAC-1.28时遇到错误:
mpeg4ip.h:126: error: new declaration ‘char* strcasestr(const char*, const char*)’
解决方法:
从123行开始修改此文件mpeg4ip.h,到129行结束。
修改前:
#ifdef __cplusplus
extern "C" {
#endif
char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif
修改后:
#ifdef __cplusplus
extern "C++" {
#endif
const char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif
mpeg4ip.h:126: error: new declaration ‘char* strcasestr(const char*, const char*)’
解决方法:
从123行开始修改此文件mpeg4ip.h,到129行结束。
修改前:
#ifdef __cplusplus
extern "C" {
#endif
char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif
修改后:
#ifdef __cplusplus
extern "C++" {
#endif
const char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif
相关文章推荐
- this 和 super用法
- LeetCode 235. Lowest Common Ancestor of a Binary Search Tree
- <<第一行代码>>--根据程序当前界面判断是哪一个Activity
- 作为上帝,不要忘记奖励一下好人
- Fragment 的静态方式和动态方式以及动态方式中fragment之间通过activity传递 数据(接口回调 ):
- swap分区
- PAT (Top Level) Practise 1001 Battle Over Cities - Hard Version (35)
- python 写的一个爬虫程序源码
- HTML5 Canvas实现图片缩放、翻转、颜色渐变的代码示例
- mac nginx php fpm
- python学习笔记-Day6(1)
- 安装CUDA的风波
- free 与 delete
- servlet
- css全局设置
- 《leetCode》:Best Time to Buy and Sell Stock III
- Gson 设定固定的日期格式来生成Gson-------Gson 可以将某个对象转换成json,也可将json转换成对象
- python_Python中用format函数格式化字符串的用法
- tcp有限状态机
- java中array,arraylist,iterator;