Skip to content

Commit 15885b7

Browse files
EmmankokoEmmanuel Nyarko
andauthored
entry draft for a possible new header for platform compiler support (#3781)
* entry draft for a possible new header for platform compiler support * compiler-platform support paragraph I wanted to tabulate initially but i think a simple paragrah will do just fine --------- Co-authored-by: Emmanuel Nyarko <[email protected]>
1 parent 696ae48 commit 15885b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/cpp_interface.dd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ $(H2 $(LNAME2 general_idea, The General Idea))
4242
$(LI matching C++ virtual function table layout for single inheritance)
4343
)
4444

45+
$(H2 $(LNAME2 platform-compiler-support, Platform-Compiler Support))
46+
47+
$(P When building on windows, you should preferrably link your D code to MSVC compiled binaries.
48+
You can link to both gcc and clang compiled binaries on linux.
49+
On macOS, you should preferrably link to clang compiled binaries.)
50+
4551
$(H2 $(LNAME2 global-functions, Global Functions))
4652

4753
$(P C++ global functions, including those in namespaces, can be declared

0 commit comments

Comments
 (0)