[Bug 43000] New: wine can't be compiled by gcc-2.95.4 (dsound/ dsound_convert.c, C99 ~ lrintf)
https://bugs.winehq.org/show_bug.cgi?id=43000 Bug ID: 43000 Summary: wine can't be compiled by gcc-2.95.4 (dsound/dsound_convert.c, C99 ~ lrintf) Product: Wine Version: 2.7 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-dsound Assignee: wine-bugs(a)winehq.org Reporter: wylda(a)volny.cz Distribution: --- wine-2.7 @ gcc-2.95.4: compilation fails: /dlls/dsound/dsound_convert.c: In function `f_to_8': /dlls/dsound/dsound_convert.c:123: warning: implicit declaration of function `lrintf' /dlls/dsound/dsound_convert.c: At top level: /dlls/dsound/dsound_convert.c:342: Internal compiler error: /dlls/dsound/dsound_convert.c:342: Internal compiler error in `output_die', at dwarf2out.c:5433 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 --- Comment #1 from Wylda <wylda(a)volny.cz> --- BTW i did not test commenting lrintf out, to be sure. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 --- Comment #2 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- While it's probably still worth fixing this problem, this particular issue shouldn't block you from testing just running 'wine winecfg' under older kernels. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 --- Comment #3 from Wylda <wylda(a)volny.cz> --- OK. Just delete dsound folder or is there better way to compile wine? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 --- Comment #4 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- Does touch dsound.dll.so touch dsound.dll.fake help? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 --- Comment #5 from Wylda <wylda(a)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.
https://bugs.winehq.org/show_bug.cgi?id=43000 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm(a)gmail.com --- Comment #6 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Should be fixed by: https://source.winehq.org/git/wine.git/commit/06d9c7e25e4ff71731c81f172269c8... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Regression SHA1| |06d9c7e25e4ff71731c81f17226 | |9c8cd81b0c68a --- Comment #7 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Marking as fixed -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 --- Comment #8 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- (In reply to Alistair Leslie-Hughes from comment #7)
Marking as fixed
You added the SHA1 to the wrong field. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair(a)hotmail.com Regression SHA1|06d9c7e25e4ff71731c81f17226 | |9c8cd81b0c68a | Fixed by SHA1| |06d9c7e25e4ff71731c81f17226 | |9c8cd81b0c68a -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.0-rc1. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43000 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |--- --- Comment #10 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 2.0.x milestone from bugs included in 2.0.5. -- 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.
participants (1)
-
wine-bugs@winehq.org