[riot-notifications] [projects] add test_vtimer_msg (#45)

Christian Mehlis notifications at github.com
Mon Nov 4 22:41:57 CET 2013


still has warnings:
```
main.c:15:39: warning: missing field 'data' initializer [-Wmissing-field-initializers]
struct timer_msg msg_a = { .timer = {0}, .interval = { .seconds = 2, .microseconds = 0}, .msg = "Hello World" };
                                      ^
main.c:15:38: warning: suggest braces around initialization of subobject [-Wmissing-braces]
struct timer_msg msg_a = { .timer = {0}, .interval = { .seconds = 2, .microseconds = 0}, .msg = "Hello World" };
                                     ^
                                     {}
main.c:15:39: warning: missing field 'absolute' initializer [-Wmissing-field-initializers]
struct timer_msg msg_a = { .timer = {0}, .interval = { .seconds = 2, .microseconds = 0}, .msg = "Hello World" };
                                      ^
main.c:16:39: warning: missing field 'data' initializer [-Wmissing-field-initializers]
struct timer_msg msg_b = { .timer = {0}, .interval = { .seconds = 5, .microseconds = 0}, .msg = "This is a Test" };
                                      ^
main.c:16:38: warning: suggest braces around initialization of subobject [-Wmissing-braces]
struct timer_msg msg_b = { .timer = {0}, .interval = { .seconds = 5, .microseconds = 0}, .msg = "This is a Test" };
                                     ^
                                     {}
main.c:16:39: warning: missing field 'absolute' initializer [-Wmissing-field-initializers]
struct timer_msg msg_b = { .timer = {0}, .interval = { .seconds = 5, .microseconds = 0}, .msg = "This is a Test" };
                                      ^
6 warnings generated.
```
build with `LANG=C CC=clang CFLAGS="-DHAVE_VALGRIND_VALGRIND_H -Os -W -Wextra -pedantic" make -B clean all`

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/projects/pull/45#issuecomment-27725403
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131104/509fb224/attachment.html>


More information about the notifications mailing list