Repository navigation
InfiniteColorEngineRgbw.cpp: add missing cstring include - #1489
Conversation
This fixes a build error found on LibreELEC master: error: 'memcpy' is not a member of 'std'; did you mean 'wmemcpy'? Signed-off-by: Matthias Reichl <[email protected]>
|
Ok, thanks. But is there a reason why you disable PCH when compiling HyperHDR? |
|
I'm not a fan of precompiled headers, from my experience they cause more problems than they solve. eg they don't play nice with ccache and result in 2.5x rebuild time with populated ccache (10s without PCH, 25s with PCH) |
|
PCH has been around for many years, and ccache has recently made a huge leap in supporting it. But it needs a special option enabled, as noted in its documentation:
I performed few compilation runs to stabilize ccache.
So, in order to have the possibility of disabling PCH we need both things handled somehow. However, the issue in that external legacy library hasn't been fixed for years. I think I'll another PR to handle them or to remove possibility to disable PCH completely. |
|
We haven't seen such build issues with rpi_ws2812 on LibreELEC yet. We're pretty much bleeding edge on everything, except Qt, which is still on 5.15.16 (Qt6 is a bitch to build) - that might be the difference to the build issue you linked. rpi_ws2812 has other issues though, it's rpi_ws2812 issues, precompiled headers, and the bugfix in this PR are completely separate things though. Using I'd prefer if precompiled headers stay an optional feature, you are free to enable it by default if you like but it can hide include issues like this one - so it's always good to check in CI if build without precompiled headers works, too. |
|
That ws2811 library hasnt been changed for a few years, but HyperHDR has switched to c++20 and there is a conflict with |
|
We're not compiling separately. BTW the Qt6 version bug has been fixed in the rpi_ws2812 hyperion repo about a year ago hyperion-project/rpi_ws281x@4446db6 Maybe switch rpi_ws2812 (back) to the hyperion repo... |
|
No, thats not an option |
This reverts commit a9047e5.
This fixes a build error found on LibreELEC master:
error: 'memcpy' is not a member of 'std'; did you mean 'wmemcpy'?
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)