src/arm/linux/chipset.c:331:11: error: implicitly declaring library function 'tolower' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
int d = tolower((unsigned char)*a) - tolower((unsigned char)*b);
^
src/arm/linux/chipset.c:331:11: note: include the header <ctype.h> or explicitly provide a declaration for 'tolower'
1 error generated.
Target //:cpuinfo failed to build
To reproduce (w/ bazel):
Update WORKSPACE.bazel with
Update .bazelrc
And build:
Error msg: