-
Notifications
You must be signed in to change notification settings - Fork 44
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 string-format type mismatches #400
base: humble
Are you sure you want to change the base?
Conversation
Thanks for the fix! To add your Signed-off-by line to every commit in this branch:
Ensure you have a local copy of your branch by [checking out the pull request locally via command line](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/checking-out-pull-requests-locally).
In your local branch, run: git rebase HEAD~1 --signoff
Force push your changes to overwrite the branch: git push --force-with-lease origin beechwoods_fixes |
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
High level of compiler warnings (with -Wpedantic) should be kept and the warnings should be resolved in the source code instead.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## humble #400 +/- ##
=======================================
Coverage 69.20% 69.20%
=======================================
Files 16 16
Lines 2715 2715
Branches 765 765
=======================================
Hits 1879 1879
Misses 450 450
Partials 386 386 ☔ View full report in Codecov by Sentry. |
c4813b5
to
89a8233
Compare
89a8233
to
7cc0fa7
Compare
there is still the compiler warning on OpenRobotics build farm CI job:
https://build.ros2.org/job/Hpr__rclc__ubuntu_jammy_amd64/36/gcc/fileName.-1655778739/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine with the pull request, as there are only format string changes. However, we need to investigate, why the build job on OpenRobotics build farm creates still warnings, while the one on gitbhub does not. Ideally, there should be no warnings (see my comment with the link to the Warning messages).
Here is the warning I see:
%d work fine on me. maybe I should use %u, what do you think? |
Correct the format string in rclc_executor_spin_some and rclc_timer_init_default Signed-off-by: Chauncy Liu <[email protected]>
7cc0fa7
to
f11c372
Compare
Can someone why the build failed? Thanks |
Check this out https://build.ros2.org/job/Hpr__rclc__ubuntu_jammy_amd64/37/clang-tidy/new/fileName.-1655778739/ |
I checked out the console log, I have no idea why the build got the following errors. Anyone knows?
|
Hi @cliu5764, what is the status of this pull request? |
Compiler warnings fixes:
c files change string formats to match type.