Skip to content
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

Support for MSVC #10

Merged
merged 5 commits into from
Jun 18, 2024
Merged

Support for MSVC #10

merged 5 commits into from
Jun 18, 2024

Conversation

Hizuru3
Copy link
Contributor

@Hizuru3 Hizuru3 commented Apr 14, 2024

close #9

Note that this PR introduces a new typedef cc_max_align_t and a function-like macro CC_UNREACHABLE(). Compiler specific optimizations are also added to cc_first_nonzero_uint16() and cc_last_nonzero_uint16().

By using MSVC 19.39 or later, you can compile with either option of /std:c11, /std:c17 or /std:clatest for C. In the case of C++, the /Zc:preprocessor option must be specified.

@JacksonAllan JacksonAllan changed the base branch from main to dev June 18, 2024 01:27
@JacksonAllan JacksonAllan merged commit 4bbae1d into JacksonAllan:dev Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for MSVC 19.39 (or later)
2 participants