[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m17n-lib: 1.8.3 no longer compatible with c++ (Regression likely)
From: |
Mike FABIAN |
Subject: |
Re: m17n-lib: 1.8.3 no longer compatible with c++ (Regression likely) |
Date: |
Wed, 23 Aug 2023 08:37:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Boyuan Yang <byang@debian.org> さんはかきました:
> Hi all,
>
> TL;DR: regression introduced at
> http://git.savannah.nongnu.org/cgit/m17n/m17n-lib.git/diff/src/m17n-core.h?id=aa4963631c94479c5ec1365df70b68304588eecb
> . This makes c++ projects that use m17n-lib fail to compile because the
> grammar is legal in C but illegal in C++:
>
> ================================================
> In file included from /usr/include/m17n.h:31,
> from /<<PKGBUILDDIR>>/im/engine.h:17,
> from /<<PKGBUILDDIR>>/im/engine.cpp:7:
> /usr/include/m17n-core.h:197:25: error: conflicting declaration ‘typedef
> struct MSymbol* MSymbol’
> 197 | typedef struct MSymbol *MSymbol;
> | ^~~~~~~
> /usr/include/m17n-core.h:197:16: note: previous declaration as ‘struct
> MSymbol’
> 197 | typedef struct MSymbol *MSymbol;
> | ^~~~~~~
> ================================================
>
> It is affecting downstream (C++) projects such as fcitx5-m17n, which fails to
> build against m17n-lib/1.8.3 now. Bug further described at
> https://savannah.nongnu.org/bugs/index.php?64566 .
>
> Thank you for your attention!
>
> Best Regards,
> Boyuan Yang
>
Thank you, I am checking ...
--
Mike FABIAN <mfabian@redhat.com>
睡眠不足はいい仕事の敵だ。