[Pkg-ime-devel] Bug#709352: FTBFS on all non-x86 architectures

Andrey Rahmatullin wrar at wrar.name
Thu May 23 19:24:38 UTC 2013


Control: reassign -1 src:fcitx-sunpinyin
Control: tags -1 + upstream

On Thu, May 23, 2013 at 01:27:11AM +0800, Aron Xu wrote:
> fcitx-sunpinyin currently FTBFS on all non-x86 architectures according
> to buildd.debian.org[1].
I.e. on architectures with gcc 4.6.

> /build/buildd-fcitx-sunpinyin_0.4.0-1-mipsel-YXJvUo/fcitx-sunpinyin-0.4.0/src/eim.cpp:52:9:
> error: expected primary-expression before '.' token
> /build/buildd-fcitx-sunpinyin_0.4.0-1-mipsel-YXJvUo/fcitx-sunpinyin-0.4.0/src/eim.cpp:53:9:
> error: expected primary-expression before '.' token
The code:

    FCITX_DEFINE_PLUGIN(fcitx_sunpinyin, ime, FcitxIMClass) = {
        .Create = FcitxSunpinyinCreate,
        .Destroy = FcitxSunpinyinDestroy
    };

It's valid C99 but invalid C++, it's rejected by gcc 4.6 while gcc 4.7 with
-pedantic emits "warning: ISO C++ does not allow C99 designated
initializers".

-- 
WBR, wRAR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ime-devel/attachments/20130524/08dc910c/attachment.pgp>


More information about the Pkg-ime-devel mailing list