cppcheck old-style c cast
-
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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login