cppcheck old-style c cast
Development
3
Posts
3
Posters
9
Views
2
Watching
-
I'm working on updates to adapt the STM32 driver for the STM32WL series and using the tools from the Contribution Guide.
When committing, I get a lot of cppcheck errors in the existing code, mostly this one:warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]I'm sure I could figure this out, but hate to mess with working code. What's the MySensors philosophy here? If I don't fix it now, how do you get thru the cppcheck to commit?
Thanks in advance for any advice. I mostly just write code for myself, so am a bit of a noob at contributing back.
-
@mfalkvidd do you know the answer to this?