From nobody Sat Jun 18 23:36:43 2022 X-Original-To: toolchain@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2280083E9D4 for ; Sat, 18 Jun 2022 23:36:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LQXP75jlzz3Qvh for ; Sat, 18 Jun 2022 23:36:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A11DC1DE22 for ; Sat, 18 Jun 2022 23:36:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25INah83019138 for ; Sat, 18 Jun 2022 23:36:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25INahVX019137 for toolchain@FreeBSD.org; Sat, 18 Jun 2022 23:36:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 264730] clang++ -fmodules fails when using stdout from cstdio: error: declaration of '__stdoutp' must be imported from module 'std.iosfwd' before it is required Date: Sat, 18 Jun 2022 23:36:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655595403; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=NkCxoV+vSY/+PbvbqOjD7eiwMvSkRZPRmtJw/8EVdEo=; b=dek4j32xCf7JOycpVEFw6JpfRZqmht3yDYguQ/oSMyqY3emoXkYrHbGi/aD/TEgWAjB6nc CROzeEQRLRmwAtKo8vrJlRQcPzIxKvgH4fANqX8SVH5R+y48g+aBLvlrmbtGESpo1S9IQL YQ6hHc98GyjNhtcSw4BizPcV5mBKr9oTUOsc54OvD27tZDesnSpNPUwF+9mbnDR6j9JCGC 07tzlok7qleZh02c76SbIUYh/6WjD61qUlsMzIiPyOMif8onUzz3PDY5FGULpLka4DuH5x yRU73s/JkKUI91lG7OPP7rJJPNngM1MuyA39yNnPHp+Fk2DCB5AC7VP29sd4fw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655595403; a=rsa-sha256; cv=none; b=yK5soNY9TCxcl9cgRgA+6dLZOGkN5Lz1QAKdp/aaWvPJ0Fb2k7NBmePhY+KlEq62s8Y0ZV 90z9ewQA1igkWWtR0Yhjisg3Z59w8jrOZ/mF8y2Et0+yGthgUddMv9QhN7JUkWDvQH/kLU CGYzOA4tfptc974EcCrnQwck4/Un06+83cwbtHX9jurSehMzbuO5a+K//v0rGt66McL2Nt bHDlu1h1i/xR4F9X6W8m3PXTrezHygHry6lmwmFeOjJeFK5CsIxAKM7yKuC+L94pdJuiwy JsuI0AFrG1kZ3PsDuUp2K5T39v3eOWzWOZU4ioQhsObAM0cO6MG6QLF5uqxWxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264730 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #5 from Mark Millard --- As I understand it, the C++20 standard makes a distinction between: A) C++ headers ( such as ) vs. B) C headers adopted by C++ ( such as or ) So that: export module NAME0; import . . . is supposed to be known to be okay. But: export module NAME1; import . . . is not portable and could give an error as a result without violating the standard. It leaves me wondering if the specific example presented has wondered outside what is actually supposed to be guaranteed by the C++20 standard. (At this point I do not know.) The context is different in the example but it might be related. --=20 You are receiving this mail because: You are the assignee for the bug.=