undefined reference to `rtos::ThisThread::get_name()'
Linking error due to missing of ThisThread:: in front of get_name()
All
GCC_ARM. arm-none-eabi version 9.2.1
b6370b4c37f3d4665ed1cdcb1afea85396bba1b3
mbed-cli version 1.10.2
call ThisThread::get_name() method
Thanks for the report. How come this was not in our CI? Will investigate
Reference to the declaration: https://github.com/ARMmbed/mbed-os/blob/mbed-os-5.15/rtos/Thread.h#L397
cc @ARMmbed/mbed-os-core @kjbracey-arm
Pull request welcome to fix this, we might create one soon (in the future for bugs like this it is faster to get the fix in if a pull request is created).
I'm making one.
The odd thing is that it was submitted by someone who said it was useful in #8961. Clearly didn't find it useful enough to actually call it :)
@ndrs-pst thank you for raising this issue.Please take a look at the following comments:
Could you add some more detail to the description? A good description should be at least 25 words.
We cannot automatically identify a release based on the version of Mbed OS that you have provided.
Please provide either a single valid sha of the form #abcde12 or #3b8265d70af32261311a06e423ca33434d8d80de
or a single valid release tag of the form mbed-os-x.y.z .
E.g. '5.15.x' has not been matched as a valid tag or sha.
NOTE: If there are fields which are not applicable then please just add 'n/a' or 'None'.This indicates to us that at least all the fields have been considered.
Please update the issue header with the missing information, the issue will not be mirroredto our internal defect tracking system or investigated until this has been fully resolved.
@ciarmcom Updated already.
@ndrs-pst it has been 5 days since the last reminder. Could you please update the issue header as previously requested?
sha updated
Most helpful comment
The odd thing is that it was submitted by someone who said it was useful in #8961. Clearly didn't find it useful enough to actually call it :)