From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SFlvAy3TGl9TQAAA0tVLHw (envelope-from ) for ; Fri, 24 Jul 2020 12:25:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GNvbOizTGl/nTQAAbx9fmQ (envelope-from ) for ; Fri, 24 Jul 2020 12:25:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7AD279400BB for ; Fri, 24 Jul 2020 12:25:16 +0000 (UTC) Received: from localhost ([::1]:47392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jywlH-0006ws-Gz for larch@yhetil.org; Fri, 24 Jul 2020 08:25:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jywl4-0006uu-NW for bug-guix@gnu.org; Fri, 24 Jul 2020 08:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35560) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jywl4-0000bh-Bp for bug-guix@gnu.org; Fri, 24 Jul 2020 08:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jywl4-000490-8C for bug-guix@gnu.org; Fri, 24 Jul 2020 08:25:02 -0400 Subject: bug#42392: GCC includes ordering issue? g++: error: 'round' is not a member of 'std' Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 24 Jul 2020 12:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 42392 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: maxim.cournoyer@gmail.com Mail-Followup-To: 42392@debbugs.gnu.org, ludo@gnu.org, maxim.cournoyer@gmail.com Received: via spool by 42392-done@debbugs.gnu.org id=D42392.159559349815910 (code D ref 42392); Fri, 24 Jul 2020 12:25:01 +0000 Received: (at 42392-done) by debbugs.gnu.org; 24 Jul 2020 12:24:58 +0000 Received: from localhost ([127.0.0.1]:47105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jywkz-00048Y-Qm for submit@debbugs.gnu.org; Fri, 24 Jul 2020 08:24:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jywkx-00048E-Lx for 42392-done@debbugs.gnu.org; Fri, 24 Jul 2020 08:24:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51136) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jywks-0000aP-Ee; Fri, 24 Jul 2020 08:24:50 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=49126 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jywkq-0000PW-ER; Fri, 24 Jul 2020 08:24:49 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87imenk1ps.fsf@hurd.i-did-not-set--mail-host-address--so-tickle-me> <87imegoplx.fsf@gnu.org> <87a6zqefm6.fsf@gnu.org> Date: Fri, 24 Jul 2020 14:24:47 +0200 In-Reply-To: <87a6zqefm6.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 23 Jul 2020 11:37:53 +0200") Message-ID: <874kpxaynk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42392-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: vwKOnFtAYplG Hello, Ludovic Court=C3=A8s skribis: > The attached patch addresses this with a questionable yet efficient > hack. The test cases reported by Maxim and by Erik Garrison now build > fine. > > I=E2=80=99ve asked for guidance for a proper fix at > , but in > the meantime, I=E2=80=99m happy to go with this patch. I pushed a variant of this patch: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D12dc9f58c422c06bf= 9950f21c54ca3df1dc40af1 Ludo=E2=80=99.