#16954: (build fails)
--------------------------+-------------------------------------
Reporter: juanriccio@… | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Barrier Breaker (trunk)
Component: packages | Version: Trunk
Keywords: |
--------------------------+-------------------------------------
Revision: 41452
Target System: Lantiq
Target Profile: (Buffalo WBMR-HP-G300H (A) - WBMR)
OpenWrt-libtool: compile: mips-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H
-I. -I../include -I/home/ric/openwrt/trunk/staging_dir/target-
mips_34kc+dsp_uClibc-0.9.33.2/usr/include
-I/home/ric/openwrt/trunk/staging_dir/target-
mips_34kc+dsp_uClibc-0.9.33.2/include
-I/home/ric/openwrt/trunk/staging_dir/toolchain-
mips_34kc+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
-I/home/ric/openwrt/trunk/staging_dir/toolchain-
mips_34kc+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include -Os -pipe -mno-
branch-likely -mips32r2 -mtune=34kc -mdsp -fno-caller-saves -fhonour-copts
-Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16
-Wformat -Werror=format-security -fpic -Wall -c libnet_init.c -fPIC -DPIC
-o .libs/libnet_init.o
libnet_init.c: In function 'libnet_init':
libnet_init.c:88:17: error: format not a string literal and no format
arguments [-Werror=format-security]
snprintf(err_buf, LIBNET_ERRBUF_SIZE, l->err_buf);
^
libnet_init.c:88:17: error: format not a string literal and no format
arguments [-Werror=format-security]
libnet_init.c:93:17: error: format not a string literal and no format
arguments [-Werror=format-security]
snprintf(err_buf, LIBNET_ERRBUF_SIZE, l->err_buf);
^
libnet_init.c:93:17: error: format not a string literal and no format
arguments [-Werror=format-security]
libnet_init.c:101:17: error: format not a string literal and no format
arguments [-Werror=format-security]
snprintf(err_buf, LIBNET_ERRBUF_SIZE, l->err_buf);
^
libnet_init.c:101:17: error: format not a string literal and no format
arguments [-Werror=format-security]
libnet_init.c:109:17: error: format not a string literal and no format
arguments [-Werror=format-security]
snprintf(err_buf, LIBNET_ERRBUF_SIZE, l->err_buf);
^
libnet_init.c:109:17: error: format not a string literal and no format
arguments [-Werror=format-security]
libnet_init.c: In function 'libnet_getdevice':
libnet_init.c:203:5: warning: pointer targets in return differ in
signedness [-Wpointer-sign]
return (l->device);
^
cc1: some warnings being treated as errors
--
Ticket URL: <https://dev.openwrt.org/ticket/16954>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets