Closed renesas-adam-benson closed 2 years ago
Hi Adam,
Thank you for your feedback. We will have internal discussion about the compile error with AC6 compiler. Once we have conclusion, we will update in this issue.
Hi Adam,
Currently, we suggest the same method you use to resolve this compilation error.
Developers can provide strnlen in cellular_platform.h if strnlen is not supported in their compilation environment.
If you have suggestion about this, please share with us. We would like to know more from you.
Hi Adam,
We are trying to remove the unnecessary usage of strnlen in #64. Once merged, I will update this issue.
When testing with Arm Compiler 6.16 I see the following compile error:
Error: L6218E: Undefined symbol strnlen (referred from cellular_at_core.o)
Unless I'm mistaken, I don't believe AC6 supports strnlen. I've temporarily resolved the compile issue by defining strnlen in the
cellular_platform.h
file like so: