[riot-notifications] [RIOT-OS/RIOT] pkg/oonf_api: fix generated test Makefiles (#12184)

benpicco notifications at github.com
Tue Sep 10 15:31:37 CEST 2019


benpicco commented on this pull request.



>  +
 +CFLAGS = -DOONF_LOG_INFO -DOONF_LOG_DEBUG_INFO
++WERROR = 0

Because of 
```C
In file included from /home/benpicco/dev/RIOT/tests/pkg_oonf_api/bin/pkg/native/oonf_api/tests/common/test_common_avl/bin/pkg/native/oonf_api/tests/cunit/cunit.c:45:
/home/benpicco/dev/RIOT/tests/pkg_oonf_api/bin/pkg/native/oonf_api/tests/common/test_common_avl/bin/pkg/native/oonf_api/tests/cunit/cunit.h:59:56: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define CHECK_NAMED_TRUE(cond, name, line, format, args...) cunit_named_check(cond, name, line, format, ##args);
                                                        ^~~
/home/benpicco/dev/RIOT/tests/pkg_oonf_api/bin/pkg/native/oonf_api/tests/common/test_common_avl/bin/pkg/native/oonf_api/tests/cunit/cunit.h:60:38: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define CHECK_TRUE(cond, format, args...) cunit_named_check(cond, __func__, __LINE__, format, ##args);
                                      ^~~

In file included from /home/benpicco/dev/RIOT/tests/pkg_oonf_api/bin/pkg/native/oonf_api/tests/common/test_common_avl/test_common_avl.c:48:
/home/benpicco/dev/RIOT/tests/pkg_oonf_api/bin/pkg/native/oonf_api/tests/common/test_common_avl/../../cunit/cunit.h:59:56: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define CHECK_NAMED_TRUE(cond, name, line, format, args...) cunit_named_check(cond, name, line, format, ##args);
                                                        ^~~
/home/benpicco/dev/RIOT/tests/pkg_oonf_api/bin/pkg/native/oonf_api/tests/common/test_common_avl/../../cunit/cunit.h:60:38: warning: ISO C does not permit named variadic macros [-Wvariadic-macros]
 #define CHECK_TRUE(cond, format, args...) cunit_named_check(cond, __func__, __LINE__, format, ##args);
                                      ^~~

/home/benpicco/dev/RIOT/sys/posix/sockets/posix_sockets.c: In function ‘socket_recvfrom’:
/home/benpicco/dev/RIOT/sys/posix/sockets/posix_sockets.c:814:60: warning: unused parameter ‘buffer’ [-Wunused-parameter]
 static ssize_t socket_recvfrom(socket_t *s, void *restrict buffer,
                                             ~~~~~~~~~~~~~~~^~~~~~
/home/benpicco/dev/RIOT/sys/posix/sockets/posix_sockets.c:815:39: warning: unused parameter ‘length’ [-Wunused-parameter]
                                size_t length, int flags,
                                ~~~~~~~^~~~~~
/home/benpicco/dev/RIOT/sys/posix/sockets/posix_sockets.c: In function ‘socket_sendto’:
/home/benpicco/dev/RIOT/sys/posix/sockets/posix_sockets.c:909:55: warning: unused parameter ‘buffer’ [-Wunused-parameter]
 static ssize_t socket_sendto(socket_t *s, const void *buffer, size_t length,
                                           ~~~~~~~~~~~~^~~~~~
/home/benpicco/dev/RIOT/sys/posix/sockets/posix_sockets.c:909:70: warning: unused parameter ‘length’ [-Wunused-parameter]
 static ssize_t socket_sendto(socket_t *s, const void *buffer, size_t length,
                                                               ~~~~~~~^~~~~~
/home/benpicco/dev/RIOT/sys/posix/sockets/posix_sockets.c:910:64: warning: unused parameter ‘address’ [-Wunused-parameter]
                              int flags, const struct sockaddr *address,
                                         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/benpicco/dev/RIOT/sys/posix/sockets/posix_sockets.c:911:40: warning: unused parameter ‘address_len’ [-Wunused-parameter]
                              socklen_t address_len)
                              ~~~~~~~~~~^~~~~~~~~~~
```

-- 
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/12184#discussion_r322743797
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190910/06ec6ca6/attachment-0001.htm>


More information about the notifications mailing list