When doing make -j4 BOARD=metro_m4_express DEBUG=1, I get this fatal warning:
../../drivers/wiznet5k/internet/dhcp/dhcp.c: In function 'parseDHCPMSG':
../../drivers/wiznet5k/internet/dhcp/dhcp.c:670:9: error: 'type' may be used uninitialized in this function [-Werror=maybe-uninitialized]
return type;
^~~~
cc1: all warnings being treated as errors
../../py/mkrules.mk:55: recipe for target 'build-metro_m4_express/drivers/wiznet5k/internet/dhcp/dhcp.o' failed
Doesn't fail without DEBUG=1. I got around this temporarily by setting type = 0; in its declaration. But the code logic does seem flawed, I think, based on the outer if statement.
@nickzoic
When doing
make -j4 BOARD=metro_m4_express DEBUG=1, I get this fatal warning:Doesn't fail without
DEBUG=1. I got around this temporarily by settingtype = 0;in its declaration. But the code logic does seem flawed, I think, based on the outerifstatement.@nickzoic