[riot-notifications] [RIOT-OS/RIOT] WIP net/ndp: make addr array ptr c++ compliant (#11299)

llueder notifications at github.com
Fri Mar 29 18:41:56 CET 2019


> Why is it marked WIP btw? This looks quite done.

Mostly to coordinate actions in the connected PRs but also for the case that someone comes up with a new/better solution for the problem.

> I really dislike adding these hacks to C code

Me too, since it is a very nice way to formulate such a packet structure in C.

> Would it be sufficient to move the struct definition into the implementation .c (or an internal header)?

For the case where I got this problem, yes. I guess C++ is not intended to be used in RIOT, but only for applications? In this case we could probably move the definition. I remember that another C++-problem was solved by internalizing a struct (#8854).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11299#issuecomment-478087995
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190329/b4438779/attachment-0001.html>


More information about the notifications mailing list