From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 64E5F3857C46; Wed, 6 Mar 2024 23:59:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 64E5F3857C46 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709769553; bh=c2/76Qa3W3DOAb2H9B1ulOWCDrD5eUGt7T2VgkRX88A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=quI+oosVomcvExWUewF+sBjg+V+fvFb0hF984R7NfjFQAwpZOYOKxu5ojrKF5RiQ7 nua0gVmHxpDh49yZXykKkw8+XS1OTJZqsG21HTIvkpUKMj9CesmidJ+nt8vtbZVDXN zFhPgonZiXH6WCjBqTdN8RteLxxS/e1heedwLfbw= From: "nshead at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/106851] [modules] Name conflict for exported using-declaration Date: Wed, 06 Mar 2024 23:59:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: nshead at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106851 --- Comment #5 from Nathaniel Shead --- (In reply to Jonathan Wakely from comment #4) > I tried doing it this way instead >=20 > namespace std { > export using std::vector; > namespace pmr { > export using std::vector; > } > } >=20 > but that didn't work, nothing got exported. But maybe that will be fixed = by > Nathaniel's https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647088.h= tml Yup, looks to be this issue. This is merged into trunk now and with a quick test appears to work: https://godbolt.org/z/T5zPfPGro=