Skip to content

Conversation

@mbautin
Copy link
Contributor

@mbautin mbautin commented Sep 24, 2024

This is to prevent compilation issues on GCC 12 and GCC13.

These changes were performed automatically by the following script: https://gist.githubusercontent.com/mbautin/9a9ec9933dd4daf954b2a878f48a8048/raw
(generated by ChatGPT).

mbautin added a commit to yugabyte/SimSIMD that referenced this pull request Sep 24, 2024
…GCC 12 and GCC 13

These changes were performed automatically by the following script:
https://gist.githubusercontent.com/mbautin/9a9ec9933dd4daf954b2a878f48a8048/raw
(generated by ChatGPT).

See also ashvardanian#192.
mbautin added a commit to yugabyte/SimSIMD that referenced this pull request Sep 28, 2024
…GCC 12 and GCC 13

These changes were performed automatically by the following script:
https://gist.githubusercontent.com/mbautin/9a9ec9933dd4daf954b2a878f48a8048/raw
(generated by ChatGPT).

See also ashvardanian#192.
@ashvardanian
Copy link
Owner

Thanks for the contribution, @mbautin! I think we should safeguard those pragmas symmetrically for both GCC and Clang. I will take your PR as a starting point and augment it with more #if. Will merge in a few days 🤗

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