-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clang 19 allows to export redeclarations within language linkage. llvm/llvm-project#98583 Exporting implicitly declared `type_info`/`operator new`/`operator delete` is no longer illegal. llvm/llvm-project#90620 Clang 19.1.1 with VS 17.11 supports `import std`. - llvm/llvm-project#108732 - microsoft/STL#4626
- Loading branch information
1 parent
323e301
commit b26b766
Showing
4 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
hello.exe: main.cpp std.obj std.pcm | ||
clang-cl /EHsc /std:c++latest -fprebuilt-module-path=. -D__cpp_lib_modules=202207L main.cpp std.obj /Fe:hello $(CXXFLAGS) | ||
|
||
std.obj std.pcm: | ||
clang-cl /EHsc /std:c++latest -Wno-reserved-module-identifier -Wno-include-angled-in-module-purview \ | ||
-fprebuilt-module-path=. -fmodule-output=std.pcm \ | ||
-c -x c++-module $(CXXFLAGS) -- "$(VCTOOLSINSTALLDIR)/modules/std.ixx" | ||
|
||
clean: | ||
-del *.pcm *.obj *.exe | ||
-rm *.pcm *.obj *.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
hello.exe: main.cpp std.o std.pcm | ||
clang++ -std=c++23 -fprebuilt-module-path=. -D__cpp_lib_modules=202207L main.cpp std.o -o hello.exe $(CXXFLAGS) | ||
|
||
std.o std.pcm: | ||
clang++ -std=c++23 -Wno-reserved-module-identifier -Wno-include-angled-in-module-purview \ | ||
-fprebuilt-module-path=. -fmodule-output=std.pcm \ | ||
-c -x c++-module "$(VCTOOLSINSTALLDIR)/modules/std.ixx" $(CXXFLAGS) | ||
|
||
clean: | ||
-del *.pcm *.o *.exe | ||
-rm *.pcm *.o *.exe |