tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: icu wants c++11


From: Thomas Klausner <>, Date: Sun, 23 Apr 2017 17:55:10 +0200

> Since the last update, icu uses a C++11 feature (char16_t) in an
> installed header file.
> Some packages stopped compiling because of that, and since it's a
> property of a header installed by icu, I added "CXXFLAGS+=-std=c++11"
> to icu's file.
> However, that breaks other packages like musicpd (which wants C++14)
> or firefox:
> .../work/build/dist/include/nscore.h:145:9: error: ISO C++ forbids declaration of 'typeof' with no type [-fpermissive]
> So basically, I need a setting that says "at least C++11 for
> everything that uses this".
> I'm not really sure if there even is a reasonable way to do that.

www/firefox and the other Mozilla products use -std=gnu++11 or other
options for standard.
-std=c++11 will break all Mozilla product packages.

Could you remove this CFLAGS from textproc/icu/

This blocks updates for Firefox and the others.

Thank you.

> Any suggestions?
>  Thomas

PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

Home | Main Index | Thread Index | Old Index