编译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*)’相关推荐

  1. error: previous declaration of '****' was here

    /home/dic/dic_dao.h:111: error: previous declaration of 'dic_get_organization_dao' was here make: ** ...

  2. ddd install strclass.h error: friend declaration of ‘string common_prefix

    ddd install strclass.h error: friend declaration of 'string common_prefix ddd version as following: ...

  3. error: expected declaration or statement at end of input

    报警提示: error: expected declaration or statement at end of input 中文翻译:在输入的结尾处缺少应有的声明或语句 问题原因:缺少括号. 问题代 ...

  4. 解决gcc报错:error: implicit declaration of function ‘inet_addr’ [-Werror=implicit-function-declaration]

    此文首发于我的个人博客:解决gcc报错 error implicit declaration of function 'inet_addr' [-Werror=implicit-function-de ...

  5. error: invalid use of incomplete type 'XXXX' ;error: forward declaration of 'XXXX' 声明改为包含头文件

    error: invalid use of incomplete type 'XXXX' error: forward declaration of XXXX 声明改为包含头文件 class XXXX ...

  6. error: #268: declaration may not appear after executable statement in block

    试验原因 看到github上一个第三方的工程不错,下载回来学习一下. 工程是STM32 MDK的工程. 编译时报错如下: error: #268: declaration may not appear ...

  7. IAR编译出现Error[Pe147]: declaration is incompatible with “__interwork __vfp int dir_get_dout()“ 报错

    IAR编译出现Error[Pe147]: declaration is incompatible with "__interwork __vfp int dir_get_dout()&quo ...

  8. error: conflicting declaration ‘typedef struct LZ4_stream_t LZ4_stream_t’

    问题描述: /usr/include/lz4.h:196:57: error: conflicting declaration 'typedef struct LZ4_stream_t LZ4_str ...

  9. 【已解决】error: conflicting declaration ‘typedef struct LZ4_stream_t LZ4_stream_t’ typedef struct { long

    问题描述 error: conflicting declaration 'typedef struct LZ4_stream_t LZ4_stream_t' typedef struct { long ...

最新文章

  1. debian---nano转VIM
  2. cms-幻灯片的实现
  3. 标准梯度—lhMorpGradient
  4. Android之DiskLruCache(缓存工具)
  5. 密码学二次剩余困难性问题The Quadratic Residuosity Problem
  6. elasticsearch部署
  7. 输出二叉树根节点到叶子结点所有路径
  8. 【kafka】浅谈Kafka的多线程消费的设计
  9. 毕业设计基础测试 定位+后端处理+退出删除
  10. [转]Handler学习笔记(一)
  11. ServerVersion 引发了“System.InvalidOperationException”类型的异常
  12. 同步图计算:GraphLite的安装和使用
  13. 斥资57亿美金,Facebook 入局印度 | 凌云时刻
  14. Latex转word的一款软件-Pandoc
  15. 微信小程序学习笔记:选项卡
  16. HTML——<blockquote>与<q>的区别
  17. LintCode168.吹气球
  18. 人工智能中,自动驾驶汽车是如何自动识别交通标志的?
  19. 极光推送上线7周年大庆,777件礼物送给大家
  20. pyautogui自动化控制鼠标和键盘操作

热门文章

  1. 神奇的事情,不同进程监听同一个端口,居然都成功
  2. 代理模式之Java动态代理
  3. cocos2dx集成友盟社会化分享图片崩溃问题
  4. nginx 漏洞(适用于0.1.0-0.8.14)补丁
  5. 洛谷 - P2163 [SHOI2007]园丁的烦恼(不带修二维数点-树状数组/主席树)
  6. 兰州大学第一届『飞马杯』程序设计竞赛 - ★★体育课排队★★(二分+最大流)
  7. POJ - 1584 A Round Peg in a Ground Hole(综合几何)
  8. POJ - 2893 M × N Puzzle(n*m数码问题+逆序对结论)
  9. python k线图 动态刷新不了_ImageButton点击之后不动态刷新页面的解决方案
  10. 给网游写一个挂吧(三) – 启动外挂下