Page MenuHomeFreeBSD

audio/libsidplay2: fix build on powerpc64
ClosedPublic

Authored by pkubaj on Sep 9 2019, 7:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 2:57 AM
Unknown Object (File)
Sep 21 2023, 5:41 PM
Unknown Object (File)
Sep 11 2023, 4:56 AM
Unknown Object (File)
Aug 29 2023, 9:46 PM
Unknown Object (File)
Jul 8 2023, 8:40 AM
Unknown Object (File)
Jul 7 2023, 4:25 PM
Unknown Object (File)
Dec 28 2022, 2:38 PM
Subscribers
None

Details

Summary

Doesn't build due to:
xsid.cpp:99:5: error: constant expression evaluates to 128 which cannot be narrowed to type 'int8_t' (aka 'signed char') [-Wc++11-narrowing]

char is by default signed on powerpc64.

EDIT: Actually, this was a mistake, char is unsigned (it's signed on amd64).

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 26364
Build 24826: arc lint + arc unit