lotem / rimeime

Legacy codebase of Rime, automatically exported from code.google.com/p/rimeime
49 stars 23 forks source link

librime 1.1在gcc 4.7.x下編譯失敗 #553

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[ 1%] Building CXX object src/CMakeFiles/rime.dir/translation.cc.o
In file included from /app/librime-develop/src/translation.cc:8:0:
/app/librime-develop/include/rime/translation.h:47:11: error: looser throw 
specifier for 'virtual rime::UniqueTranslation::~UniqueTranslation()'
/app/librime-develop/include/rime/translation.h:20:11: error: overriding 
'virtual rime::Translation::~Translation() noexcept (true)'
make[2]: *** [src/CMakeFiles/rime.dir/translation.cc.o] Error 1
make[1]: *** [src/CMakeFiles/rime.dir/all] Error 2
make: *** [all] Error 2

在develop分支合併進去之前就提過這問題了,只是一直都沒有�
��決,只好手動升級到了gcc 4.8.2。
聽公子說是gcc的問題:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53613
不知這個問題是否打算跟進,或者有什麼workaround的?

Original issue reported on code.google.com by maishang...@gmail.com on 31 Dec 2013 at 12:44

GoogleCodeExporter commented 9 years ago
librime 1.1 requires gcc>=4.8

Original comment by contral...@gmail.com on 2 Jan 2014 at 3:28