Skip to content

Use #pragma instead of #warning with MSVC#131

Open
jodhus wants to merge 1 commit intojiixyj:masterfrom
jodhus:msvc_pragma_warning
Open

Use #pragma instead of #warning with MSVC#131
jodhus wants to merge 1 commit intojiixyj:masterfrom
jodhus:msvc_pragma_warning

Conversation

@jodhus
Copy link
Copy Markdown

@jodhus jodhus commented Sep 4, 2024

I was attempting to create an experimental build with Windows ARM64, but MSVC didn't like the #warning on line 609 during the FTZ/SSE2 checks. This simple fix just uses #pragma instead to send out the warning if MSVC is detected. This will probably need refactored if #127 gets approved at some point.

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.

1 participant