swift
1d2eb3bc - SourceKit: correct the macro definitions to avoid warnings on Windows

Commit
254 days ago
SourceKit: correct the macro definitions to avoid warnings on Windows This silences a large number of warnings due to `-Winconsistent-dllimport`. While it is possible to support the library to be built statically, that is not currently supported by the build system, so simply leave that unsupported for decoration. An option here for ELF targets would be to use `__attribute__((__visibility__("default")))` and enable hidden visibility by default enabling a small bit of optimization.
Author
Committer
Parents
Loading