Fix compiler warnings for systems that treat warnings as errors#445
Fix compiler warnings for systems that treat warnings as errors#445magicrub wants to merge 1 commit intottlappalainen:masterfrom
Conversation
|
I had forgot to check this. Why did you change local variable name from MsgHandler to _local_MsgHandler? |
|
This is a bit old, but had too much other work. Instead of adding pragmas, I'd like to fix code. For double NaN would be proper value, but for some reason that did not always work properly with Arduino environment, when I started to write library. Instead of using N2kDoubleNA for setting, there should be N2kSetNA for different types.
Thoughts? |
|
I think you can safely assume that the compiler has support for |
|
I am just worried since 2021 someone wrote: Most cores use GCC or some variant thereof. That could be anything from GCC 3.x.x through to the most recent release (whatever that is this week)." Maybe I just test with some cores on old Arduino (1.8) IDE. |
Fix compiler warnings for systems that treat warnings as errors