Repository navigation
Squelch newer GCC warning on memmove8 - #986
Conversation
WAIT_TIME set to 5 was too short and FastLED aborted frames too early and restarted them incorrectly. (as explained by Daniel Garcia in https://plus.google.com/communities/109127054924227823508 ) Tested on ESP8266 with 768 LED matrix in both serialized output and 3x 256 output.
sync with master
- standard demoreeel works on ESP32 now - FastLED#711 says this demo worked badly. - FastLED#713 says it's incompatible with Wifi.
5chmidti
left a comment
There was a problem hiding this comment.
I've done a quick test on the following (only if it compiles on c++14, but this should be correct according to the standard):
Why not just outright remove the warnings about CRGB and CHSV not being trivially copyable instead of casting the warning away?
By simply removing the user defined copy constructor' and copy assignments', CRGB and CHSV could simply be made trivially copyable by using the default copy constructor and copy assignment. One could write explicitly that we want to use the default with for example:
inline CRGB &operator=(const CRGB &rhs) __attribute__((always_inline)) = default;
Which I guess could be preferrable or even necessary because we have other copy assignments with other arguments for CRGB, as I don't know if the copy assignment for CRGB would be deleted.
After that the warnings shouldn't be there anymore, as the types would be trivially copyable.
|
Thanks for the PR on this one; we're trying to work down the backlog, and appreciate all the contributions! |
Discussion in #985