最新消息:

redeclaration of C++ built-in type ‘bool’ 异常

c admin 4903浏览 0评论
redeclaration of C++ built-in type ‘bool’ 错误。
安装mysql时 make 时  提示 redeclaration of C++ built-in type ‘bool’ 错误。是没有安装 gcc-c++ 导致的,解决如下。

sudo apt-get install build-essential

如果还出现是因为gcc-c++是在configure之后安装的,此时只需重新configure mysql后再编译make即可。

转载请注明:爱开源 » redeclaration of C++ built-in type ‘bool’ 异常

您必须 登录 才能发表评论!