-
Notifications
You must be signed in to change notification settings - Fork 422
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
Work around VS2015's broken support for expression SFINAE #122
Conversation
CI job for Windows: http://ci.ros2.org/job/ros2_batch_ci_windows/472/ This is the testsuite for function_traits: http://ci.ros2.org/job/ros2_batch_ci_windows/472/testReport/%28root%29/TestFunctionTraits/ |
This basically means that we can get rid of |
|
||
int func_one_int(int x) | ||
{ | ||
(void)x; |
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.
If we never intend to document the function we could remove the variable name from the signature and then also this line.
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.
Done.
Nice 👍 |
lgtm (I don't claim to understand it), but the tests look very thorough. |
bdfa592
to
77ccda7
Compare
I noticed that I hadn't pushed the changes to CI jobs for Windows: |
My latest change broke the build, working on it. |
77ccda7
to
f1c0a84
Compare
Errors fixed. New CI job: |
Moving back to in progress, there's an error in |
a393dd6
to
d2e846f
Compare
CI job builds and passes: |
@wjwwood I'm afraid neither will I after this gets merged 😄 I've added a few comments on how this write-only code works. |
d2e846f
to
ea9d330
Compare
New CI job after #119 got merged: |
Work around VS2015's broken support for expression SFINAE
* moved allocator to c_utilities * moved error_handling to c_utilities * refactor uses of RCL_SET_ERROR_MSG with allocator * add missing guard condition functions and tests * add missing timer functions * refactor rcl_lifecycyle * missed an instance of RCL_SET_ERROR_MSG * fix segfaults in error cases for rcl_lifecycle * remove extra header * check return code of rcl_lifecycle_init_default_state_machine
Signed-off-by: Karsten Knese <[email protected]>
…e-on-params-event Humble: Fix data race on parameter event
This works around VS2015's broken support for expression SFINAE and adds tests for
function_traits