-
Notifications
You must be signed in to change notification settings - Fork 102
[DO NOT MERGE] aggregate all changes necessary for Swift to build #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2357644
to
cec14e6
Compare
- all the compilers we support have __has_include(), so use that instead of checking it in cmake - nothing in the library uses HAS__ATTRIBUTE__, so remove it
the win32 API uses some architecture-specific defines, but they're not defined by the MSVC compiler - they're defined directly in windows.h based on symbols defined by the MSVC compiler. rather than setting the architecture symbols ourselves, just import windows.h as a whole. this also needed to disable the short-name symbols in cmark-gfm.h, because there are some clashing symbols in win32 headers.
This PR now includes #40, which aggregates some CMake fixes for Windows and Linux. |
Co-authored-by: Saleem Abdulrasool <[email protected]>
Co-authored-by: Saleem Abdulrasool <[email protected]>
This PR now includes #41, which fixes a couple functions in |
e40b59a
to
59e0b3c
Compare
59e0b3c
to
fe486ef
Compare
on Windows SDK version 10.0.17763.0, the SDK headers spuriously trip this warning. since swift-cmark itself doesn't emit this warning on its own, diabling this warning will allow it to be built with this SDK.
This PR now includes #42, which fixes a problem when building with the Windows SDK used on the Swift CI servers. |
All the listed PRs that were originally combined into this branch have been merged into |
This is a dummy PR branch that aggregates the work necessary to build swift-cmark/gfm with the Swift compiler:
Sync in changes made to cmark-gfm after 2021-08-01 #29allow extensions to use!
and^
as special characters #30build: export targets info #27various CMake fixes and cleanup #40use const char * for string literals #41disable MSVC warning C5105 #42More changes may be added on as more issues are found.