您的位置:首页 > Web前端 > JavaScript

json编译错误及解决: /usr/include/wchar.h:75:43: error: missing binary operator before token "("

2017-09-14 21:26 1016 查看
        最近编译代码, 引入json库, 结果编译的时候, 莫名其妙出现: /usr/include/wchar.h:75:43: error: missing binary operator before token "("  ,接着就是一大堆错误,  我是这么解决的:

        1.  改#include "json.h"为 #include "json/json.h"

        2.  改makefile的 /xxxx/xxxx/xxxx/comm/json为/xxxx/xxxx/xxxx/comm/

        问题解决。是什么原因呢? 来摘录下一个网友的回答:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐