-
Notifications
You must be signed in to change notification settings - Fork 31
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
Compile with -Werror #51
Conversation
CI compiles with |
Just noticed the |
Ok - the -Werror is a preference I guess :) One change I made was to compile the connxr & runtest binaries with CFLAGS passed to the compiler. So before 49db5ee, connxr and runtest were not built with -Wall (or -std=c99). This might be why the build passed with -Werror in the CI? Was this intentional? I'm not sure how to proceed now. |
if you just want to test stuff or play around it gets in the way. so yeah, preferences :D
I stand corrected, CI applies CI only sets |
What I originally saw was: So if I understood correctly: now only removing -Werror from Makefile, CI should still both compile & link with -Wall -Werror set. |
I think this happend because we left out the
correct, both are applied now while compiling & linking, I just checked the CI logs |
Could you squash your last commit 1ad1c6b with your first? |
Not all of them into one? Squashing just the last to the first will cause the build of that new ref to fail to compile on mac & windows. Someone doing git bisect down the line will curse me :) And the changes are still pretty related. |
you are completely right :) |
Use CFLAGS when compiling connxr & runtest. Fix compiler warnings: unused variables and print format errors.
That would be a good policy there in #52. I haven't used github actions yet - but learning them have been on my TODO list. Maybe next rainy day :) |
just checking the weather :D |
This is just a quick "get to know cONNXr"-commit. No functional changes.
Use CFLAGS when compiling connxr & runtest.
Fix compiler warnings: unused variables and print format errors.