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

fix msvc build error #30

Merged
merged 1 commit into from
May 22, 2024
Merged

fix msvc build error #30

merged 1 commit into from
May 22, 2024

Conversation

EfesX
Copy link
Contributor

@EfesX EfesX commented May 22, 2024

The MSVC preprocessor does not support the #warning command. Therefore, the compilation process may fail with the following error: C1021: invalid preprocessor command 'warning'.

I have fixed this issue according with this docs.

Now, the code is more cross-platform compatible.

@jkriege2
Copy link
Owner

Thanks!

@jkriege2 jkriege2 merged commit c879e6e into jkriege2:master May 22, 2024
10 checks passed
@dg0yt dg0yt mentioned this pull request May 22, 2024
11 tasks
@EfesX EfesX deleted the msvc_support_fix branch May 23, 2024 11:21
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.

2 participants