tflite-micro icon indicating copy to clipboard operation
tflite-micro copied to clipboard

-WShadow errors

Open thomaspj101796 opened this issue 1 year ago • 0 comments

I get -WShadow build errors when compiling from tensorflow/lite/kernels/internal/reference/mul.h and tensorflow/lite/kernels/internal/reference/sub.h from a few functions that use the word 'params' twice in the header. I worked around this issue by changing the const ArithmeticParams& params to const ArithmeticParams& params1 and its subsequent calls to params1 where it occurs.

thomaspj101796 avatar Sep 19 '24 15:09 thomaspj101796