[riot-commits] [RIOT-OS/RIOT] 069849: WIP tests/gnrc_ipv6_nib: Fix unused function error...

Martine Lenders authmillenon at gmail.com
Tue Nov 7 18:16:57 CET 2017


  Branch: refs/heads/gnrc_netif2_integration/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 069849f0024931ff64149e8803a940194900f42c
      https://github.com/RIOT-OS/RIOT/commit/069849f0024931ff64149e8803a940194900f42c
  Author: Lucas Jenss <lucas at x3ro.de>
  Date:   2017-11-07 (Tue, 07 Nov 2017)

  Changed paths:
    M sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c

  Log Message:
  -----------
  WIP tests/gnrc_ipv6_nib: Fix unused function error w/ clang/macOS

In the case that GNRC_IPV6_NIB_CONF_ARSM is set but
GNRC_IPV6_NIB_CONF_6LN is not, clang complains about
the function _get_l2addr_from_ipv6 never being used.
I couldn't easily figure out why this passes in Murdock,
but I'm guessing that clang is simply being smarter than
GCC. Can someone comment on whether there is a better fix
for this?

Relates to #6473


  Commit: b1e69a776fbdc546557c242509654d6292ea1cdf
      https://github.com/RIOT-OS/RIOT/commit/b1e69a776fbdc546557c242509654d6292ea1cdf
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2017-11-07 (Tue, 07 Nov 2017)

  Changed paths:
    M sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c

  Log Message:
  -----------
  Merge pull request #7910 from x3ro/fix-gnrc-ipv6-nib-test-on-macos

tests/gnrc_ipv6_nib: Fix unused function error w/ clang/macOS


Compare: https://github.com/RIOT-OS/RIOT/compare/de591ca1c387...b1e69a776fbd


More information about the commits mailing list