Comments (8)
http://code.google.com/p/rimeime/issues/detail?id=553 同
Google說gcc4.7就會報這個錯,gcc4.8已當作bug修復了
編譯器不支持,可以換到使用較少C++11特性的 msvc10 分支
from librime.
亲爱的,可是现在 gcc 4.7 还在绝大多数发行版的支持期内啊,可否考虑加个 switch?
from librime.
哎,原本我也不想早早引進C++11,後來看到 BYVoid 君用得自在,就跟進了。
改動非常大,脫胎換骨。無法用條件編譯控制住。後來爲了支持 MSVC10 又維護了一個分支。
儘管認爲 master 的代碼是不可用的好了。
from librime.
囧。。。可是我们维护的时候没法针对不同的版本号上传不同的压缩包呀。。。你看 ppa 和 debian 应该就不行吧。。。要是主流发行版都用 msvc10 分支。。。难免有些尴尬。。。
from librime.
GCC 4.8 正式发布已经过了一年了,并且 Rime 迁移至 C++11 也过去很多个月了。如果再去为了 backward compatibility 去大改代码,完全有种停滞不前、阻碍发展的感觉了……
对于 OpenSUSE、Debian 这类以二进制直接分发 package 的 distribution,完全可以直接用 GCC 4.8 来编译(编译的时候使用 -static-libgcc -static-libstdc++
选项,可以保证运行的时候并不需要再安装 GCC 4.8 了。)
from librime.
自己编当然可以。给发行版编需要发行版有 4.8。而且分发 static 编译的软件包无论是在 debian 还是 openSUSE 应该都是不可以的。
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53613
看这个 bug report 说有个 simple workaround,能给出个不合并到 trunk 的 patch 么。
from librime.
搞定了:
gcc 53613 patch:https://build.opensuse.org/package/view_file/M17N/librime/librime-1.1-gcc53613.patch?expand=1
boost 1.49- filesystem linking patch: https://build.opensuse.org/package/view_file/M17N/librime/librime-1.1-BOOST_NO_SCOPED_ENUMS.patch?expand=1
from librime.
发行版维护者可以参考,应该不能合并进 trunk。未在 gcc 4.8.2 和 boost 1.50+ 上测试过。openSUSE 12.3,gcc 4.7.2,boost 1.49.1 和 openSUSE 12.2 均可用,Debian 6/7, Fedora 什么的应该均可以,未测试。
from librime.
Related Issues (20)
- rime_api_console debug mode plugins 無法使用
- 移动编辑框光标后,如果修改了最后一个字的编码则无法自动造词 HOT 4
- API to write user input history to disk HOT 2
- README-mac.md is outdate ,there is no xcode.mk HOT 1
- Persist options to user.yaml on `api->set_option` HOT 3
- When commit_code is issued, input buffer is still displaying HOT 1
- 形码部署后无法根据单字生成词组的编码 HOT 11
- 使用 combo-pinyin 时,按空格选中的候选文字会双倍上屏 HOT 1
- As a Chinese, I think you should find language confidence HOT 1
- Twice librime initialize cause glog error HOT 2
- 当设置背景色的时候,出来的效果和颜色不对应 HOT 1
- 可否使用单一按键, 同时做为模式引导和选词键. 兼问recognizer和key_binder的优先级. HOT 2
- bug or feature: 词库文件名不支持中文 HOT 5
- 提問:speller和translator在分隔音節時是的處理邏輯是什麽? HOT 2
- 中英输入自动切换 HOT 1
- 点击部署后用户目录下installation.yaml中的同步信息消失,id还原 HOT 2
- 最近的 CI 编译物 rime.dll 在 weasel 上好像用不了啊? HOT 10
- RimeTraits 是线程安全的么?
- Only log to a file without logging to stderr HOT 3
- rime.dll 在更新intel显卡驱动后加载出现问题 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from librime.