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 clang build error in bitops.c #1794

Merged
merged 3 commits into from
Feb 27, 2025
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/bitops.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,15 @@

#include "server.h"
#ifdef HAVE_AVX2
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"

#include <immintrin.h>

#pragma clang diagnostic pop
#pragma GCC diagnostic pop
#endif
/* -----------------------------------------------------------------------------
* Helpers and low level bit functions.
Expand Down
Loading