-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to build with Kodi 18 #81
Comments
This looks to be a gcc regression, as I'm now seeing it too with gcc-8.3.0 (but not with stable gcc-8.2.0) - presumably your "unstable gcc 8.2.0" includes additional changes (including the regression) not present in the standard gcc-8.2.0 release. Anyway, I don't think this is a PVR HDHomerun issue, it's a gcc issue. |
So apparently not a gcc regression, but the problem is with https://github.com/Silicondust/libhdhomerun/blob/9719cbc7a562dfc3ae638ba1f3769f9451db5389/hdhomerun_os_posix.h#L56-L58 because |
Yeah, error is in the SD upstream library. Windows header already has the proposed fix in place, but its not in the posix header. Have sent a PR to silicondust, however i wouldnt hold your breathe. I dont have a build system setup at the moment, and dont have time to add a patch into the addon's build process. Ill try a little later if i can get some time. |
The patch is very simple
|
I figure always better to go upstream first, and then as a last resort workaround locally. Each their own though. |
Thanks @fuzzard, I agree that fixing the underlying issue with |
Debian unstable gcc 8.2.0 amd64 jsoncpp 1.7.4 and 1.84
Kodi packages come from https://www.deb-multimedia.org
The text was updated successfully, but these errors were encountered: