Closed bperrybap closed 3 years ago
it's probably better to add __attribute__ ((unused))
in front of all the infringing parameters
I would suspectattribute won't be as portable given it isn't part of the actual standard and is primarily a gcc thing. While Arduino and 3rd party developers currently seem to all be using gcc for their platform toolsets, it might potentially be an issue at some point.
fair enough I had arduino in mind and I edited my own version of the library to add those. works fine but indeed a GCC thingy
I think that given Arduino and its 3rd party platforms have used gcc from the beginning for well over 10 years now, that there are probably many little gcc things scattered around so it likely is not an issue worth worrying over. In fact, I've got a few gcc specific things in some of my libraries.
Thanks!
Paul, you can remove the unused parameter warnings in AltSoftSerial.h by doing this: line 63:
line 68