[Bug 43000] wine can't be compiled by gcc-2.95.4 (dsound/dsound_convert.c, C99 ~ lrintf)
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu May 11 16:58:40 CDT 2017
https://bugs.winehq.org/show_bug.cgi?id=43000
--- Comment #5 from Wylda <wylda at volny.cz> ---
> Does ... help?
No, it doesn't. I had to modify all following 4 lines to make it pass.
static inline unsigned char f_to_8(float value)
- return lrintf((value + 1.f) * 0x80);
+ return 1;
static inline SHORT f_to_16(float value)
- return le16(lrintf(value * 0x8000));
+ return 1;
static LONG f_to_24(float value)
- return lrintf(value * 0x80000000U);
+ return 1;
static inline LONG f_to_32(float value)
- return le32(lrintf(value * 0x80000000U));
+ return 1;
Do you have any other trick to skip building some DLL?
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list