Date: Sat, 26 Apr 2025 18:25:40 +0000 From: Jordan Gordeev <jgopensource@proton.me> To: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: C++ programs fail to build with -fmodules Message-ID: <IduIKtQkKm6v-jLNQ5w4nsB95voZsYnkdnhQzS5qIPD7f0umjo59hoQzJ7QKOjeZtZtwqD-t3d_68xPXKvx0asaNHi38UPzozlzt2hKMd1o=@proton.me>
index | next in thread | raw e-mail
Programs written in C++ fail to build with -fmodules on 15.0-CURRENT if they include the headers <locale>, <vector>, <iostream> or any other header that includes <locale>. The flag -fmodules enables a feature known as clang modules. You can read more about that feature here: https://clang.llvm.org/docs/Modules.html On 14.2 building with -fmodules works. I've filed a problem report about the issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286342 Anyone who can help with this issue is welcome to do so. Best regards, Jordan Gordeevhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?IduIKtQkKm6v-jLNQ5w4nsB95voZsYnkdnhQzS5qIPD7f0umjo59hoQzJ7QKOjeZtZtwqD-t3d_68xPXKvx0asaNHi38UPzozlzt2hKMd1o=>
