[Bug 52381] New: wineg++: Compile error in tom.h
https://bugs.winehq.org/show_bug.cgi?id=52381 Bug ID: 52381 Summary: wineg++: Compile error in tom.h Product: Wine Version: 6.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winelib Assignee: wine-bugs(a)winehq.org Reporter: sacrom(a)gmail.com Distribution: --- Compiling an application based in winelib (copiled with wineg++), since Wine 6.19 causes a compile error at header "tom.h". I've narrowed and minified the source file to generate the error. ----------------------------- [sc(a)generic_linux1_64]/sc/tmp/wine$ cat compile_error.c #include <windows.h> #include <tom.h> int main() { return 0; } [sc(a)generic_linux1_64]/sc/tmp/wine$ wine --version wine-6.19 [sc(a)generic_linux1_64]/sc/tmp/wine$ winegcc compile_error.c [sc(a)generic_linux1_64]/sc/tmp/wine$ wineg++ compile_error.c In file included from compile_error.c:2: /opt/wine-devel/include/wine/windows/tom.h:1889:22: error: invalid use of incomplete type ‘struct ITextSelection’ 1889 | ITextRange2 : public ITextSelection | ^~~~~~~~~~~~~~ In file included from compile_error.c:2: /opt/wine-devel/include/wine/windows/tom.h:79:19: note: forward declaration of ‘struct ITextSelection’ 79 | typedef interface ITextSelection ITextSelection; | ^~~~~~~~~~~~~~ winegcc: /usr/bin/g++ failed ----------------------------- While in Wine 6.18: [sc(a)generic_linux1_64]/sc/tmp/wine$ wine --version wine-6.18 [sc(a)generic_linux1_64]/sc/tmp/wine$ winegcc compile_error.c [sc(a)generic_linux1_64]/sc/tmp/wine$ wineg++ compile_error.c [sc(a)generic_linux1_64]/sc/tmp/wine$ cat compile_error.c #include <windows.h> #include <tom.h> int main() { return 0; } ----------------------------- Probably the cause lies in this commit: https://source.winehq.org/git/wine.git/commit/5a8dcb062793fbb68997e1b54ebc26... -- 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=52381 Marcos Gutiérrez Batz <sacrom(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu CC| |sacrom(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=52381 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression, | |source -- 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=52381 --- Comment #1 from Marcos Gutiérrez Batz <sacrom(a)gmail.com> --- Created attachment 71599 --> https://bugs.winehq.org/attachment.cgi?id=71599 Reorder tom.idl interfaces to prevent c++ compile error To fix the issue, the only needed operation is to reorder the interfaces from tom.idl making sure that an interface is inheriting a previously defined interface -- 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=52381 --- Comment #2 from Marcos Gutiérrez Batz <sacrom(a)gmail.com> --- The submitted patch is based on the latest Wine 7.0-RC5 -- 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=52381 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |5a8dcb062793fbb68997e1b54eb | |c2666a2b2834d -- 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=52381 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |048f5436fa447b325964c6d2247 | |a94eff521339c Resolution|--- |FIXED CC| |z.figura12(a)gmail.com --- Comment #3 from Zebediah Figura <z.figura12(a)gmail.com> --- Should be fixed by <https://source.winehq.org/git/wine.git/commitdiff/048f5436fa447b325964c6d2247a94eff521339c>. -- 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=52381 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.0-rc6. -- 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)
-
WineHQ Bugzilla