-
Notifications
You must be signed in to change notification settings - Fork 185
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
Add semicolon to the buffer atime assignment #2661
Conversation
We'd have already fixed this if we merged my PR! |
@chrisseaton Oh, thanks for pointing out. Should I keep this PR open or ...? |
Sore that comment was for the reviewers of this PR, rather than directed at you. |
We can co-authored it 😄 I think it might be tough to push a big change, but this mistype is clearly the small fix we can just merge without much hassle ✌🏼 |
It's great for you to author this PR and get it merged - I'm just saying to the wider team that this was already fixed if we'd merged it rather than deferring the work. |
This sounds like an incorrect How did you create your
This is why I want proper darwin-aarch64 support and not partial patches, otherwise people build it and find it's half broken. |
We can of course add the missing |
It was giving me |
I tried to repro it locally with diff --git a/lib/cext/include/ruby/config.h b/lib/cext/include/ruby/config.h
index 9f4c3bd5b5..a0b7fd2083 100644
--- a/lib/cext/include/ruby/config.h
+++ b/lib/cext/include/ruby/config.h
@@ -9,7 +9,7 @@
#else
-#if defined(__x86_64__)
+#if defined(__x86_64__) && 0
#include <truffleruby/config_linux_amd64.h>
#elif defined(__aarch64__)
#include <truffleruby/config_linux_aarch64.h> That gives:
So clang (from the toolchain) shows both errors at the same time, and so keeps compiling even though a header errored. Now that I understand how this error is seen, I'll merge this and a couple more cleanups to truffleposix.c. |
bb0c828
to
012ae87
Compare
I just accidentally found a forgotten
;
while compiling it on M1