0

在 mac osx 10.8.5 的 gcc 下为节日 2.1 编译/构建语音工具 2.1 时发生以下错误

In file included from siod.cc:31:
In file included from ../include/EST_THash.h:46:
../include/EST_TIterator.h:212:7: error: use of undeclared identifier 'begin'
    { begin(over); }
      ^
      this->

../include/EST_TIterator.h:292:7: error: use of undeclared identifier 'begin'
    { begin(over); }
      ^
      this->
4

1 回答 1

0

只需要更新 GCC,一切都很好。苹果中的 gcc 是 4.2 或之前的版本,我安装了 macports 并安装了 gcc 4.9 gcc version 4.9.0 20131215 (experimental) (MacPorts gcc49 4.9-20131215_0)

于 2013-11-04T15:30:08.813 回答