Wiznet / ioLibrary_Driver

ioLibrary_Driver can be used for the application design of WIZnet TCP/IP chips as W5500, W5300, W5200, W5100 W5100S.
MIT License
613 stars 331 forks source link

Ethernet/wizchip_conf.c:837:10: error: unused variable 'k' [-Werror=unused-variable] #37

Closed vanvught closed 6 years ago

vanvught commented 6 years ago

This file cannot be build with -Werror

Ethernet/wizchip_conf.c: In function 'wizchip_setnetinfo': Ethernet/wizchip_conf.c:837:10: error: unused variable 'k' [-Werror=unused-variable] int i,j,k; ^ Ethernet/wizchip_conf.c:837:8: error: unused variable 'j' [-Werror=unused-variable] int i,j,k; ^ Ethernet/wizchip_conf.c:837:6: error: unused variable 'i' [-Werror=unused-variable] int i,j,k; ^

khj098765 commented 6 years ago

What kind of IDE you used?

vanvught commented 6 years ago

pi@nuc-i5:~/workspace/lib-wiznet$ arm-none-eabi-gcc --version arm-none-eabi-gcc (GCC) 7.3.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

vanvught commented 6 years ago

@khj098765 Please will consider to re-open this issue and fix the bug? Thanks.

vanvught commented 6 years ago

@khj098765 Please will consider to re-open this issue and fix the bug? Thanks.

vanvught commented 6 years ago

see pull request #53