Skip to content

SUBSTRING length caused issues with compiling on Indigo#4

Open
fredrikbaberg wants to merge 2 commits into
HusqvarnaResearch:masterfrom
fredrikbaberg:fix_substring_length
Open

SUBSTRING length caused issues with compiling on Indigo#4
fredrikbaberg wants to merge 2 commits into
HusqvarnaResearch:masterfrom
fredrikbaberg:fix_substring_length

Conversation

@fredrikbaberg

Copy link
Copy Markdown
Contributor

I'm not 100% sure this is correct, so would be good if someone else could check it.

When I tried to catkin build (I'm using catkin_tools) I got an issue that:

string end index: 200 is out of range -1 - 18

I'm not sure if there were some specific reason 200 was used for length, but setting it to -1 should use the rest of the string (according to https://cmake.org/cmake/help/v3.0/command/string.html).

@fredrikbaberg fredrikbaberg deleted the fix_substring_length branch September 6, 2017 13:13
@fredrikbaberg fredrikbaberg restored the fix_substring_length branch September 6, 2017 13:21
@fredrikbaberg fredrikbaberg reopened this Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant