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

Fixes compilation error by adding -Wno-strict-prototypes option #1

Open
wants to merge 1 commit into
base: M1_support
Choose a base branch
from

Conversation

vishnun
Copy link

@vishnun vishnun commented Dec 27, 2023

When compiling for M1, I always get this error:

seabolt/src/seabolt/src/bolt/mem.h:104:34: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
int64_t BoltMem_allocation_events();

The way to avoid this is to not throw the error for this warning and this PR adds that option to the /src/CMakeLists.txt

After that, compilation succeeded.

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