[Bug 43777] New: redefinition of type def ‘REFERENCE_TIME’ ( gcc-4.2)
https://bugs.winehq.org/show_bug.cgi?id=43777 Bug ID: 43777 Summary: redefinition of typedef ‘REFERENCE_TIME’ (gcc-4.2) Product: Wine Version: unspecified Hardware: x86-64 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: gijsvrm(a)gmail.com CC: dark.shadow4(a)web.de Regression SHA1: 44cb0afb2571984bda8ca1fa084a50c1fc04ac71 Current wine-git doesn't compile with gcc-4.2 anymore. In file included from evr.c:31: ../../include/dxva2api.h:125: error: redefinition of typedef ‘REFERENCE_TIME’ ../../include/strmif.h:730: error: previous declaration of ‘REFERENCE_TIME’ was here make[1]: *** [evr.o] Error 1 make[1]: *** Waiting for unfinished jobs.... Bisected to: author Fabian Maurer <dark.shadow4(a)web.de> Wed, 20 Sep 2017 12:03:38 +0000 (14:03 +0200) commit 44cb0afb2571984bda8ca1fa084a50c1fc04ac71 evr: Add EnhancedVideoRenderer coclass. Signed-off-by: Fabian Maurer <dark.shadow4(a)web.de> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> -- 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=43777 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- 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=43777 --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 59291 --> https://bugs.winehq.org/attachment.cgi?id=59291 Don't redefine REFERENCE_TIME Can't test the issue since I don't use such an old gcc. Does the attached patch 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=43777 --- Comment #2 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- (In reply to Fabian Maurer from comment #1)
Created attachment 59291 [details] Don't redefine REFERENCE_TIME
Can't test the issue since I don't use such an old gcc. Does the attached patch help?
Sorry for the late reply. The patch unfortunately does not help, same error. -- 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=43777 --- Comment #3 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Created attachment 59365 --> https://bugs.winehq.org/attachment.cgi?id=59365 Patch to fix the issue (In reply to Fabian Maurer from comment #1)
Created attachment 59291 [details] Don't redefine REFERENCE_TIME
Can't test the issue since I don't use such an old gcc. Does the attached patch help?
This version of your patch works. You have to put the ifndef, define and endif in a cpp_quote. -- 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=43777 --- Comment #4 from Fabian Maurer <dark.shadow4(a)web.de> --- Ah yes, I just noticed and wanted to submit an updated patch, but you were faster. Sorry, my bad. But since you reported it fixes the issue, I sent it in here: https://source.winehq.org/patches/data/137473 -- 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=43777 Nathan <version2013(a)openmailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |version2013(a)openmailbox.org --- Comment #5 from Nathan <version2013(a)openmailbox.org> --- (In reply to Fabian Maurer from comment #4) Thank you both for the patch. Wine build completes now. -- 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=43777 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |84d2d7818bc84ea90303d8b047f | |3e4e833e6e316 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Fabian Maurer <dark.shadow4(a)web.de> --- Fixed as of 84d2d7818bc84ea90303d8b047f3e4e833e6e316. -- 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=43777 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 2.19. -- 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