-
Notifications
You must be signed in to change notification settings - Fork 285
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
config.hpp.in: remove whitespace from version macros #1820
Conversation
The whitespace between the `@` characters seems to prevent cmake from matching the variable names when configuring the version number macros. Signed-off-by: Steve Peters <scpeters@openrobotics.org>
where would you recommend putting a test for |
Ah, good catch. Thank you for the fix!
Anywhere in common would make sense to me. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release-6.14 #1820 +/- ##
================================================
- Coverage 61.56% 61.55% -0.02%
================================================
Files 490 490
Lines 46021 46021
================================================
- Hits 28334 28329 -5
- Misses 17687 17692 +5 |
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
test added in b03d15a to the Logging test since it already had a transitive include of |
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
When attempting to build gz-physics7 with dartsim 6.14.1, the build fails:
It appears that the version number macros at the start of config.hpp.in have a space in between the
@
characters, which seems to prevent cmake from matching the variable names when configuring the version number macros. I confirmed by looking at the first few lines of theconfig.hpp
file installed in the dartsim 6.14.1 homebrew bottle:I believe removing the whitespace should fix it, though it would be better to add a test of the
DART_VERSION_AT_LEAST
macro, which should catch regressions like this in the future.Before creating a pull request
make format
-DDART_TREAT_WARNINGS_AS_ERRORS=ON
and resolve all the compile warningsBefore merging a pull request
CHANGELOG.md