[Bug 52381] New: wineg++: Compile error in tom.h
WineHQ Bugzilla
wine-bugs at winehq.org
Mon Jan 10 15:27:15 CST 2022
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 at winehq.org
Reporter: sacrom at 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 at generic_linux1_64]/sc/tmp/wine$ cat compile_error.c
#include <windows.h>
#include <tom.h>
int main()
{ return 0; }
[sc at generic_linux1_64]/sc/tmp/wine$ wine --version
wine-6.19
[sc at generic_linux1_64]/sc/tmp/wine$ winegcc compile_error.c
[sc at 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 at generic_linux1_64]/sc/tmp/wine$ wine --version
wine-6.18
[sc at generic_linux1_64]/sc/tmp/wine$ winegcc compile_error.c
[sc at generic_linux1_64]/sc/tmp/wine$ wineg++ compile_error.c
[sc at 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/5a8dcb062793fbb68997e1b54ebc2666a2b2834d
--
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