Git Product home page Git Product logo

Comments (8)

lotem avatar lotem commented on August 26, 2024

http://code.google.com/p/rimeime/issues/detail?id=553
Google說gcc4.7就會報這個錯,gcc4.8已當作bug修復了
編譯器不支持,可以換到使用較少C++11特性的 msvc10 分支

from librime.

marguerite avatar marguerite commented on August 26, 2024

亲爱的,可是现在 gcc 4.7 还在绝大多数发行版的支持期内啊,可否考虑加个 switch?

from librime.

lotem avatar lotem commented on August 26, 2024

哎,原本我也不想早早引進C++11,後來看到 BYVoid 君用得自在,就跟進了。
改動非常大,脫胎換骨。無法用條件編譯控制住。後來爲了支持 MSVC10 又維護了一個分支。
儘管認爲 master 的代碼是不可用的好了。

from librime.

marguerite avatar marguerite commented on August 26, 2024

囧。。。可是我们维护的时候没法针对不同的版本号上传不同的压缩包呀。。。你看 ppa 和 debian 应该就不行吧。。。要是主流发行版都用 msvc10 分支。。。难免有些尴尬。。。

from librime.

lembacon avatar lembacon commented on August 26, 2024

GCC 4.8 正式发布已经过了一年了,并且 Rime 迁移至 C++11 也过去很多个月了。如果再去为了 backward compatibility 去大改代码,完全有种停滞不前、阻碍发展的感觉了……

对于 OpenSUSE、Debian 这类以二进制直接分发 package 的 distribution,完全可以直接用 GCC 4.8 来编译(编译的时候使用 -static-libgcc -static-libstdc++ 选项,可以保证运行的时候并不需要再安装 GCC 4.8 了。)

from librime.

marguerite avatar marguerite commented on August 26, 2024

自己编当然可以。给发行版编需要发行版有 4.8。而且分发 static 编译的软件包无论是在 debian 还是 openSUSE 应该都是不可以的。

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53613

看这个 bug report 说有个 simple workaround,能给出个不合并到 trunk 的 patch 么。

from librime.

marguerite avatar marguerite commented on August 26, 2024

搞定了:

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.

marguerite avatar marguerite commented on August 26, 2024

发行版维护者可以参考,应该不能合并进 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.