-
Notifications
You must be signed in to change notification settings - Fork 188
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
Compilation error under the latest fedora #263
Comments
I’ll have a look at this today |
Updated the variable names to avoid reserved _names |
Still failing :/ [37/54] CC test/main.c
FAILED: build/ninja/linux/debug/x86-64/test-57ec084/main-28e5055.o
clang -MMD -MT build/ninja/linux/debug/x86-64/test-57ec084/main-28e5055.o -MF build/ninja/linux/debug/x86-64/test-57ec084/main-28e5055.o.d -I. -Irpmalloc -Itest -DRPMALLOC_COMPILE=1 -funit-at-a-time -fstrict-aliasing -fvisibility=hidden -fno-stack-protector -fomit-frame-pointer -fno-math-errno -ffinite-math-only -funsafe-math-optimizations -fno-trapping-math -ffast-math -D_GNU_SOURCE=1 -W -Werror -pedantic -Wall -Weverything -Wno-c++98-compat -Wno-padded -Wno-documentation-unknown-command -Wno-implicit-fallthrough -Wno-static-in-inline -Wno-reserved-id-macro -Wno-disabled-macro-expansion -std=c11 -m64 -g -DBUILD_DEBUG=1 -DENABLE_ASSERTS=1 -DENABLE_STATISTICS=1 -DRPMALLOC_FIRST_CLASS_HEAPS=1 -DRPMALLOC_CONFIGURABLE=1 -c test/main.c -o build/ninja/linux/debug/x86-64/test-57ec084/main-28e5055.o
test/main.c:429:16: error: identifier '_allocator_thread_arg' is reserved because it starts with '_' at global scope [-Werror,-Wreserved-identifier]
typedef struct _allocator_thread_arg {
^
1 error generated.
[38/54] CC rpmalloc/rpmalloc.c
ninja: build stopped: subcommand failed.
Error: Process completed with exit code 1. |
Try now, compiles cleanly now on my ubuntu system at least |
Looks like it's working, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The compilation fails due to some warnings, because
-Werror
is set by default:This is currently blocking daanx/mimalloc-bench#47
The text was updated successfully, but these errors were encountered: