[riot-notifications] [RIOT-OS/RIOT] tests/driver_sx127x: missing initializer for member 'iolist::iol_next'? (#12137)

マリウス notifications at github.com
Sun Sep 1 17:21:55 CEST 2019

#### Description

Copied the following piece of code from the test:

    iolist_t iolist = {
        .iol_base = argv[1],
        .iol_len = (strlen(argv[1]) + 1)

Getting the following error:

error: missing initializer for member 'iolist::iol_next' [-Werror=missing-field-initializers]

Either test is not implemented correctly or something else is odd here. However, unfortunately I couldn't find a clear documentation on the iolist approach. Other implementations do specify the `iol_next` parameter.

#### Versions

Current master.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190901/800dfd5a/attachment.htm>

More information about the notifications mailing list