tensorflow / tflite-micro

Infrastructure to enable deployment of ML models to low-power resource-constrained embedded targets (including microcontrollers and digital signal processors).
Apache License 2.0
1.87k stars 809 forks source link

-WShadow errors #2689

Open thomaspj101796 opened 3 weeks ago

thomaspj101796 commented 3 weeks ago

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.

github-actions[bot] commented 1 day ago

"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."