From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AB55A138CA4 for ; Fri, 24 Apr 2015 19:29:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC4BFE0823; Fri, 24 Apr 2015 19:29:06 +0000 (UTC) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E06F0E07EA for ; Fri, 24 Apr 2015 19:29:05 +0000 (UTC) Received: by pabtp1 with SMTP id tp1so56611237pab.2 for ; Fri, 24 Apr 2015 12:29:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=3EIq/sPErAPSWfYylzQrt6oAySIQHIXZPMxVsmy4ZZ8=; b=sMCcPY+yJ6DSoKmRw+9ziTansn0k14pquigEj6iWdOtorE4rmfbbpnWxk/5TfgGKqa j7xla4qTDcGT/NGKQDTPPQkXZB+KlHKG3mhO5Om+GTXGTwCkpO+SDLh/89cswPxbdGWK YITVsdurfdiX+DmfVRoMtTLmtcXieGe55uBzD6+NYUhk1mZwyFHfZPKq/s/4qRYu341e z7lhE07RW/jJliJZSI6ETwJ5ePQfe4wzjyGOkPYFPu6N57irPvPv64KOj6yv+k5oGrsE HFLyDRW6vqLY8qXknHwr0/r9Lxi2zgLS2RQLHWLP2wuKUgLg83/Wx6kMhLi6NDobPZPa lvNw== X-Received: by 10.68.111.35 with SMTP id if3mr17547479pbb.70.1429903744909; Fri, 24 Apr 2015 12:29:04 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.70.29.131 with HTTP; Fri, 24 Apr 2015 12:28:44 -0700 (PDT) In-Reply-To: References: <20150424194217.0176adc0@googlemail.com> <553A91F6.7080505@gentoo.org> From: Georg Rudoy <0xd34df00d@gmail.com> Date: Fri, 24 Apr 2015 20:28:44 +0100 Message-ID: Subject: Re: [gentoo-dev] RFC: c++14 global USE flag To: "gentoo-dev@lists.gentoo.org" Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 7db0775e-8d54-404c-9c96-22c48d554814 X-Archives-Hash: 64c7c54f1fb227d21f28f97661d67a72 2015-04-24 20:11 GMT+01:00 Maxim Koltsov : > This is temporal, until gcc gets needed support and that version makes its > way into ~. Then the flag won't be needed anymore, we'll just depend on new > enough gcc and enable C++14 mode by default. There is a problem with this. gcc has some bugs even in C++03 implementation (I have shown you the related bug the other day, can quote it here if anyone's interested), and for now I used C++14 flag to enable those code paths that depend on good enough standards support. The problem is that the other, kludgy code paths are incompatible with C++14 at all, so either LC is built in C++11 mode with C++11 plugins set, or in C++14 mode, but only using clang (or any other conforming compiler, but I'm not aware of anything like that). Effectively, even gcc 5.1 cannot build LC in C++14 mode. The same story will happen when C++17 gets released, so this should probably be settled once and for all. > I'm CCing LeechCraft author just in case. I'm on this list, no need to :) -- Georg Rudoy