From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8MWZFPSn4WUgjQAAqHPOHw:P1 (envelope-from ) for ; Fri, 01 Mar 2024 11:03:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8MWZFPSn4WUgjQAAqHPOHw (envelope-from ) for ; Fri, 01 Mar 2024 11:03:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=univ-amu.fr header.s=amudkim header.b=D8tHWrra; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=univ-amu.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709287412; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=VKAWgRSc8Ro+5mi6Bd4XO6NU/i3nAVcAY9eNov/i280=; b=PxnMeQ/KkUWD1C9fauNsQAvhHWGol9G4kmiCk7WtIzD26mhfoTEkEmTmO/1pMfdxpBxXh6 Om1OnH926AHrBSW1AKj7CFoKpEjjYwZ5+24k3/RhlHhT6uIxWxHOQ8mTBXKEH1RCXbCRrs 8osa0FrEeDs+nDNxDO20Rs+aG3hoiEzDbznhW7cRalJunBb5Yzu2aUfYmIcV+Ow4eYfvz6 pRvOrMgnNZr00UYwGgNIsQRAml4rcETLJJ9WUk2RpdsTRwwMAdP6P95J5sgzdJReCxjEpN KX7//vk2jTbQLh3JdMLg3p8kBU6jGh70mHU5IT22x527qDLns5GxylHsfhankQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=univ-amu.fr header.s=amudkim header.b=D8tHWrra; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=univ-amu.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709287412; a=rsa-sha256; cv=none; b=ZFF3J567xZL+7agwKssM1k4gfqyNwz3C8gGiwzFf3oGlqvICwim1PO3+zGzowiL6Zsy8Ki TbkYi9BBb/w4jNC6Q8K6Ln8YNFwoiaS5msmdJemyxM13m6i15koDhJZF/ShBZ0IEWNBPX/ sNjrb6Vv/XADE0baMeDWIRERv8V4Ohx7kBbXSbiJoTYTQkC63oklihjaFF+at8AvLMs1xm 9v9f/2S2lSYZBf4BV/GqqKLt6kCTBofzpTNJwszUArlARKpyoWeaLWp65X9/idM+ZQ/7bK UfOQ7F+0Aoa+/I1CBjUFAWOxmEdbaqFEdIrzyA3//i3Te5IKsvFUxPYnWsgZ+w== 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 24D7837952 for ; Fri, 1 Mar 2024 11:03:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfzhi-0005l9-LG; Fri, 01 Mar 2024 05:01:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfzhE-0005G9-HX for help-guix@gnu.org; Fri, 01 Mar 2024 05:00:54 -0500 Received: from amu-phr-out2.univ-amu.fr ([139.124.245.207]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfzh4-000259-LM for help-guix@gnu.org; Fri, 01 Mar 2024 05:00:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=univ-amu.fr; i=@univ-amu.fr; q=dns/txt; s=amudkim; t=1709287242; x=1740823242; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=v4tfCTytw5tXp1//pqpoCn7baYTuMp7a4fCvmQqmAz4=; b=D8tHWrraq2t9FEaFn/m96qQ8dx/Vx316NbmdCFoa8lOXiyd5+V7W8XuR AhgIvExe69ms3I7hM3VuTlA4riXGNZdhJ3KIS2+/KKzAwdV8QcWCSiRlc 4lC0x6yqj3hkPVm1zabqMC6Aovvkm1RRc7XMthIzYVwlxLUGFS8izeRlF U=; X-CSE-ConnectionGUID: gXbDXn3sRNqAVHgcicN+jQ== X-CSE-MsgGUID: hDP3fB1PQG6hfuzBWrIiQw== X-ThreatScanner-Verdict: Negative X-IPAS-Result: =?us-ascii?q?A2FgAwDypuFl//kYTApagQkJgUaDNYFfgU+DBINPjhiGE?= =?us-ascii?q?5YhgVaBfg8BAQEBAQEBAQEJMRMEAQEEEIxnJzQJDgECBAEBAQEDAgMBAQEBA?= =?us-ascii?q?QEBAQYBAQYBAQEBAQEGBgECgRmFLz0NglWCSyyBMRVpDQIFIQIRAV+DAYJfs?= =?us-ascii?q?Q+BMhoCZYMagV6uOYFqgRougWmGIxoBBWWJRzaBVUSBFYh4gw6CaASCE1OCP?= =?us-ascii?q?ymBJoprAYc9iFyBU4EkaxsQHjcREBMNAwhuHQIxOgMFAwQyChIMCx8FVANDB?= =?us-ascii?q?kkLAwIaBQMDBIEuBQ0aAhAsJgMDEkkCEBQDKQ8DAwY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nTBO46QIvfTuPG6NpfwTMxgOhTG/fAI sMcdHxhdnwsZjUWZwZHUMNlzbbAan/XcxFg81y//JIOzDbTwhFj+of3EdvsZYnfLSlStgPCz o7cxEz5DxUCcdOCyCqt/XSxwOjVkkvGtJk6TeX+qaAs2gHVnDBCYPELaWaGTTCCohbWc7pix 4Y8oELCcYBaGJSXc+TA IronPort-HdrOrdr: A9a23:L3d/dq0TTzMZi4K8wHhUrgqjBKckLtp133Aq2lEZdPU1SL3+qy nAppUmPHPP6Ar5O0tQ/exoWpPwIk80nKQdieJ9UYtKNzOJhILHFu5fBPPZsljd8lbFh4xgPH hbGZRDNA== X-Talos-CUID: 9a23:RNY+4GFMl7tYOrhuqmJoxEQ4KsZ+aUf71V7uA0CzCG1PC7+sHAo= X-Talos-MUID: 9a23:yKCZwwZ6tMUgkeBTtxPU3z9Ibf9RzPquBl0fu6ocmsi9Knkl X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.06,195,1705359600"; d="scan'208";a="159809399" X-IRON-SID-XX: n5x1m8ecPUGkLIULT4KzxDFrmHQrsqh0ExMeGA2eaFFOTv12ASvfBennBHQKGY0Ilwi8ZPZ5GEgpj0ONNy9JPwRK1ak757b86UXIOUTZcldxvHAgyWIsCWsJ158u20M6U6ncPJSMxbRuBxDy6axWZ2Sz2k5g4ES0QXbny4fi Received: from unknown (HELO localhost) ([10.76.24.249]) by smtp-phr.univ-amu.fr with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 01 Mar 2024 11:00:36 +0100 User-agent: mu4e 1.10.8; emacs 29.1 From: Baptiste Demoulin To: help-guix@gnu.org Subject: Problem with g++ and iostream Date: Fri, 01 Mar 2024 10:50:38 +0100 Message-ID: <87plweb7b0.fsf@univ-amu.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=139.124.245.207; envelope-from=baptiste.demoulin@univ-amu.fr; helo=amu-phr-out2.univ-amu.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 2.53 X-Spam-Score: 2.53 X-Migadu-Queue-Id: 24D7837952 X-TUID: RwNFg9TR50lC Hello, I encountered a problem today with the =3Dg++=3D compiler from the=20 package =3Dgcc-toolchain=3D. When compiling a simple hello world=20 program: #+begin_src c++ #include =20=20 int main () { std::cout << "Hello World\n"; return 0; } #+end_src with: #+begin_src bash g++ hello.cc #+end_src I have the following errors, tracing back to the =3Diostream.h=3D=20 file: #+begin_example In file included from=20 /home/baptiste/.guix-profile/include/c++/bits/move.h:57, from=20 /home/baptiste/.guix-profile/include/c++/bits/exception_pt= r.h:43, from=20 /home/baptiste/.guix-profile/include/c++/exception:153, from=20 /home/baptiste/.guix-profile/include/c++/ios:39, from=20 /home/baptiste/.guix-profile/include/c++/ostream:38, from=20 /home/baptiste/.guix-profile/include/c++/iostream:39, from iostream.cc:1: /home/baptiste/.guix-profile/include/c++/type_traits:732:26:=20 error: expected identifier before '(' token 732 | _GLIBCXX20_DEPRECATED("use is_standard_layout &&=20 is_trivial instead") | ^ /home/baptiste/.guix-profile/include/c++/type_traits:732:27:=20 error: expected unqualified-id before string constant 732 | _GLIBCXX20_DEPRECATED("use is_standard_layout &&=20 is_trivial instead") |=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/baptiste/.guix-profile/include/c++/type_traits:732:27:=20 error: expected ')' before string constant 732 | _GLIBCXX20_DEPRECATED("use is_standard_layout &&=20 is_trivial instead") |=20 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ) /home/baptiste/.guix-profile/include/c++/type_traits:1497:12:=20 error: expected identifier before '__is_nothrow_convertible' 1497 | struct __is_nothrow_convertible | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/baptiste/.guix-profile/include/c++/type_traits:1497:12:=20 error: expected unqualified-id before '__is_nothrow_convertible' /home/baptiste/.guix-profile/include/c++/type_traits:3058:66:=20 error: template argument 2 is invalid 3058 | __is_nothrow_convertible> |=20 ^~ /home/baptiste/.guix-profile/include/c++/type_traits:3153:25:=20 error: expected unqualified-id before string constant 3153 | _GLIBCXX20_DEPRECATED("use is_standard_layout_v &&=20 is_trivial_v instead") |=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/baptiste/.guix-profile/include/c++/type_traits:3153:25:=20 error: expected ')' before string constant 3153 | _GLIBCXX20_DEPRECATED("use is_standard_layout_v &&=20 is_trivial_v instead") |=20 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ) #+end_example Is it a bug, or am I doing something wrong here ? Thanks a lot for your help ! bests, baptiste --=20 Baptiste Demoulin Research Engineer (Ing=C3=A9nieur de Recherche, CNRS) Centre Interdisciplinaire de Nanoscience de Marseille (CINaM) D=C3=A9partement Th=C3=A9orie et Simulation Num=C3=A9rique Campus de Luminy =E2=80=93 Case 913 13288 MARSEILLE Cedex 09