SHARE
TWEET

Untitled

a guest Jan 13th, 2020 3 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pi@raspberrypi:~/contiki-ng/examples/rpl-border-router $ make
  2. TARGET not defined, using target 'native'
  3.   MKDIR     build/native/obj
  4.   CC        ../../arch/platform/native/./platform.c
  5.   CC        ../../arch/platform/native/./clock.c
  6.   CC        ../../arch/platform/native/dev/xmem.c
  7.   CC        ../../arch/platform/native/./cfs-posix.c
  8.   CC        ../../arch/platform/native/./cfs-posix-dir.c
  9. ../../arch/platform/native/./cfs-posix-dir.c: In function ‘cfs_readdir’:
  10. ../../arch/platform/native/./cfs-posix-dir.c:69:3: warning:strncpy’ output may be truncated copying 32 bytes from a string of length 255 [-Wstringop-truncation]
  11.    strncpy(e->name, res->d_name, sizeof(e->name));
  12.    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  13.   CC        ../../arch/platform/native/dev/buttons.c
  14.   CC        ../../arch/cpu/native/net/tun6-net.c
  15. In function ‘tun_alloc.constprop,
  16.     inlined from ‘tun_init’ at ../../arch/cpu/native/net/tun6-net.c:211:11:
  17. ../../arch/cpu/native/net/tun6-net.c:161:5: warning:strncpy’ output may be truncated copying 16 bytes from a string of length 63 [-Wstringop-truncation]
  18.      strncpy(ifr.ifr_name, dev, IFNAMSIZ);
  19.      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  20.   CC        ../../arch/cpu/native/./rtimer-arch.c
  21.   CC        ../../arch/cpu/native/./watchdog.c
  22.   CC        ../../arch/cpu/native/dev/eeprom.c
  23.   CC        ../../arch/cpu/native/./int-master.c
  24.   CC        ../../arch/cpu/native/dev/gpio-hal-arch.c
  25.   CC        webserver/httpd-simple.c
  26. webserver/httpd-simple.c: In function ‘handle_input’:
  27. webserver/httpd-simple.c:174:5: warning:strncpy’ output truncated copying 1 byte from a string of length 11 [-Wstringop-truncation]
  28.      strncpy(s->filename, http_index_html, sizeof(s->filename) - 1);
  29.      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  30. webserver/httpd-simple.c: In function ‘handle_output’:
  31. webserver/httpd-simple.c:131:5: warning:strncpy’ output truncated copying 1 byte from a string of length 14 [-Wstringop-truncation]
  32.      strncpy(s->filename, "/notfound.html", sizeof(s->filename) - 1);
  33.      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  34. webserver/httpd-simple.c: In function ‘handle_input’:
  35. webserver/httpd-simple.c:178:5: warning:strncpy’ output may be truncated copying 2 bytes from a string of length 25 [-Wstringop-truncation]
  36.      strncpy(s->filename, s->inputbuf, sizeof(s->filename));
  37.      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  38.  
  39.  
  40. ....
  41.  
  42.  
  43.  
  44.  
  45.  
  46. ../../os/services/rpl-border-router/native/tun-bridge.c: In function ‘tun_alloc’:
  47. ../../os/services/rpl-border-router/native/tun-bridge.c:168:5: warning:strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  48.      strncpy(ifr.ifr_name, dev, IFNAMSIZ);
  49.      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  50.   CC        ../../os/services/rpl-border-router/native/slip-dev.c
  51.   CC        ../../os/services/rpl-border-router/native/border-router-native.c
  52.   CC        ../../os/services/rpl-border-router/native/slip-config.c
  53. ../../os/services/rpl-border-router/native/slip-config.c: In function ‘slip_config_handle_arguments’:
  54. ../../os/services/rpl-border-router/native/slip-config.c:102:9: warning:strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
  55.          strncpy(slip_config_tundev, optarg, sizeof(slip_config_tundev));
  56.          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  57. ../../os/services/rpl-border-router/native/slip-config.c:100:9: warning:strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
  58.          strncpy(slip_config_tundev, optarg + 5, sizeof(slip_config_tundev));
  59.          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top