Skip to content

fixes mingw warning on windows platform #35

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

Merged
merged 1 commit into from
Mar 20, 2025
Merged

fixes mingw warning on windows platform #35

merged 1 commit into from
Mar 20, 2025

Conversation

TinyTinni
Copy link
Owner

@TinyTinni TinyTinni commented Mar 19, 2025

Fixes #34

#pragma push and pop are only supported by MSVC compiler, not mingw. Therefore, those macros should check for the MSVC compiler, not the platform they are compiled for.

@TinyTinni TinyTinni changed the title removes mingw warning on windows platform fixes mingw warning on windows platform Mar 20, 2025
@TinyTinni TinyTinni changed the title fixes mingw warning on windows platform removes mingw warning on windows platform Mar 20, 2025
@TinyTinni TinyTinni changed the title removes mingw warning on windows platform fixes mingw warning on windows platform Mar 20, 2025
@TinyTinni TinyTinni merged commit e15aa4c into master Mar 20, 2025
3 checks passed
@TinyTinni TinyTinni deleted the mingw-warning branch March 20, 2025 07:37
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.

Fix MinGW-w64/Clang unknown-pragmas warning.
1 participant