On Wed, 12 Feb 2025 at 22:47, Frederick Virchanza Gotham via Gcc
<gcc@gcc.gnu.org> wrote:
>
> Tobias wrote:
>
> >>Am Mi., 12. Feb. 2025 um 10:52 Uhr schrieb Frederick Virchanza Gotham:
> >> This would be an alternative to modules (seeing as how modules might
> >> become deprecated in the future).
>
> >Huch? Where did you catch that? Did I miss something?
>
>
> I think it might be a possibility given how compiler vendors (and also
> vendors of tools like CMake) aren't really getting very far with
> modules. They've had a few years already.

tmp$ cat > mod.cc
import std;
int main() {
 std::println("OK");
}
tmp$ ~/gcc/15/bin/g++ -fmodules -std=c++23 -fsearch-include-path
bits/std.cc mod.cc
tmp$ ./a.out
OK

Reply via email to