Replies: 5 comments 7 replies
-
@jwhui / @abtink - any objections if I open a PR to remove this attribute? |
Beta Was this translation helpful? Give feedback.
-
Thanks for replying @abtink . I was thinking the same (about needing to update the upstream version) but then I noticed other PRs that were directly changing the tcplp code in the openthread repo. For example. #8578. |
Beta Was this translation helpful? Give feedback.
-
Thanks @abtink. I'll get a PR in place for this. Also, just a heads up I also want to fix the compilation warnings that occur when you remove these compiler options when compiling the tcplp code, ""-Wno-sign-compare" and "-Wno-unused-parameter". I'll create a separate PR for those changes. |
Beta Was this translation helpful? Give feedback.
-
Thanks @romacdon for pointing this out. I would have to look back at the history to find out how this annotation got there. I originally developed TCPlp as a research prototype to work with embedded operating systems based on TinyOS, and soon after with RIOT OS, and I suspect that I put in I can confirm that I'm not aware of any good reason to have |
Beta Was this translation helpful? Give feedback.
-
Although the question was not answered I am closing this discussion as the attribute has been removed in this PR - #10726 |
Beta Was this translation helpful? Give feedback.
-
Anyone know why
__attribute__((used))
is used with the functionvoid initialize_tcb(struct tcpcb* tp)
intcp_subr.c
? It causes an issue when used with link time optimizations and TCP is not enable.openthread/third_party/tcplp/bsdtcp/tcp_subr.c:96: undefined reference to tcplp_sys_get_ticks'
@samkumar perhaps you might know the answer.
Beta Was this translation helpful? Give feedback.
All reactions