From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3BF013858D1E; Wed, 21 Dec 2022 11:32:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3BF013858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671622359; bh=74AEun8y96tFWEdtBfDPvgABDS+9o0ACfyQsk6H3PNE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZxPlELUCm3KGPD3B8aR0FeJp4M8RELMYMUWbPxozF5XsJwgDN1j7kSFm35R+iXnSQ pnzlXZQ2gWkH2YAUmDnCrlmVc6fCNElLa3S2PzA4SyBt5U9f1GOjsND1JQMC7J9CHB nLbhaJ+cBYEuWZY8cfFsxH17wuDxdNvn0hrrAvog= From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/105397] C++ modules vs -fvisibility option Date: Wed, 21 Dec 2022 11:32:38 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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=3D105397 --- Comment #3 from Iain Sandoe --- the import places attributes at the end. so=20 import module Foo [[....]]; it would seem to be symmetrical to have: export import Foo [[...]]; export module Foo [[...]]; but, ts present, (if I read it correctly) it seems that the WD says export [[...]] module Foo; export [[...]] int bar (); which would then be weird with export [[...]] import Foo [[...]];=