[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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Jun 2022 05:17:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264730

--- Comment #6 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #5)

The C++20ish terminology here seems to be:

"importable C++ library headers"

See, for example, https://eel.is/c++draft/headers that
has a draft table listing them. It also has a separate
table for "C++ headers for C library facilities" that
are not classified as (guaranteed) importable.

<cstdio> is not guaranteed as importable in this draft
material.

I'm still unclear on if the #include use in the example
is a context for an implicit conversion to an import
according to the draft standard effort (or would be for
an importable C++ library header, anyway?). So I'm still
unclear if the example wondered outside the (draft)
guaranteed language properties.

-- 
You are receiving this mail because:
You are the assignee for the bug.