C++ programs fail to build with -fmodules
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Apr 2025 18:25:40 UTC
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 Gordeev