http://bugs.winehq.org/show_bug.cgi?id=13332
Summary: widl fails with unknown embedded type for somedata (0x0) Product: Wine Version: 1.0-rc1 Platform: Macintosh OS/Version: Mac OS X 10.5 Status: UNCONFIRMED Severity: critical Priority: P2 Component: tools AssignedTo: wine-bugs@winehq.org ReportedBy: sachin_bhandare@persistent.co.in
Created an attachment (id=13211) --> (http://bugs.winehq.org/attachment.cgi?id=13211) Sample IDL file
Attached sample IDL file fails with following error.
$>widl -I $WINE_HOME/include/wine/windows -I. -s -u -p -h test.idl error: write_embedded_types: unknown embedded type for somedata (0x0)
I am using following WIDL version $>widl -V Wine IDL Compiler version 1.0-rc1 Copyright 2002 Ove Kaaven
http://bugs.winehq.org/show_bug.cgi?id=13332
Sachin sachin_bhandare@persistent.co.in changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sachin_bhandare@persistent.c | |o.in
--- Comment #1 from Sachin sachin_bhandare@persistent.co.in 2008-05-21 04:56:23 --- Please let me know, if you want more inputs to reproduce the problem.
http://bugs.winehq.org/show_bug.cgi?id=13332
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Lei Zhang thestig@google.com 2008-05-21 13:17:33 --- confirming
also: $ widl test.idl -I /path/to/wine/include error: encode_type: VT_USERDEFINED - unhandled type 17
the test file compiles with midl.
http://bugs.winehq.org/show_bug.cgi?id=13332
--- Comment #3 from Sachin sachin_bhandare@persistent.co.in 2008-05-22 00:04:46 --- Yes, I believe following is a known issue with widl.
$ widl test.idl -I /path/to/wine/include error: encode_type: VT_USERDEFINED - unhandled type 17
However, I am trying to generate only headers and server stubs and it fails with the reported problem.
If you don't generate server stubs (-s option) then it works and generates header file.
http://bugs.winehq.org/show_bug.cgi?id=13332
Rob Shearman robertshearman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |robertshearman@gmail.com
--- Comment #4 from Rob Shearman robertshearman@gmail.com 2008-06-26 17:33:20 --- There are two bugs here. 1. encode_type doesn't cope with non-public typedefs very well. 2. Proxies/stubs are generated for interfaces in library statements, but the types used in library interfaces aren't checked during parsing (and therefore the error message is slightly unfriendly). The fix is for proxies/stubs not to be generated in this case.
(1) can be fixed straight away but (2) may have to wait until after a rewrite I have pending of the parser code (where it will be easier to determine that an interface is defined inside a library statement).
http://bugs.winehq.org/show_bug.cgi?id=13332
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #5 from Austin English austinenglish@gmail.com 2008-12-24 10:17:25 --- austin@work:~/Desktop$ widl test.idl -I /usr/local/include/wine/windows/ error: encode_type: VT_USERDEFINED - unhandled type 17
http://bugs.winehq.org/show_bug.cgi?id=13332
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|Macintosh |PC
http://bugs.winehq.org/show_bug.cgi?id=13332
Niko Sandschneider nsandschn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nsandschn@gmx.de
--- Comment #6 from Niko Sandschneider nsandschn@gmx.de 2010-04-10 06:00:50 --- Still present in wine-1.1.42-182-g8f77dd8:
niko@niko-desktop:~/Desktop$ widl test.idl -I /usr/local/include/wine/windows/ error: encode_type: VT_USERDEFINED - unhandled type 11
http://bugs.winehq.org/show_bug.cgi?id=13332
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.5 |Mac OS X
http://bugs.winehq.org/show_bug.cgi?id=13332
--- Comment #7 from butraxz@gmail.com 2013-05-11 05:24:11 CDT --- No update for over 900 days. No download. Is this still an issue in 1.5.30 or is this abandoned ?
http://bugs.winehq.org/show_bug.cgi?id=13332
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- This still happens, typedef is a problem.
https://bugs.winehq.org/show_bug.cgi?id=13332
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #9 from super_man@post.com --- I dont get any error, but not sure if I am doing this correctly.
https://bugs.winehq.org/show_bug.cgi?id=13332
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=13332
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com --- I believe this bug is fixed too. I can see the error clearly in wine 1.7.7 and no warnings/errors in wine 1.9.12. But since I don't understand what is supposed to happen I'm leaving this open.
Can anyone else retest? The sample file is in comment 0.
https://bugs.winehq.org/show_bug.cgi?id=13332
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com, | |sebastian@fds-team.de, | |winetest@luukku.com, | |wylda@volny.cz
https://bugs.winehq.org/show_bug.cgi?id=13332
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #11 from winetest@luukku.com --- widl test.idl -I /usr/local/include/wine/windows/
Doesn't give any output. And that directory does exist since Linux's tabulator fills the fields.
wine 2.7-git.
https://bugs.winehq.org/show_bug.cgi?id=13332
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #12 from Vijay Kamuju infyquest@gmail.com --- Marking as resolved as I dont see any errors with wine 3.0 rc6 It compiles fine with latest wine git
https://bugs.winehq.org/show_bug.cgi?id=13332
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |3cd67463bf0bd41b8fe5e8d8116 | |83129fcaea6f1
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com --- For "unhandled type 11" bisect points to https://source.winehq.org/git/wine.git/commit/3cd67463bf0bd41b8fe5e8d8116831....
https://bugs.winehq.org/show_bug.cgi?id=13332
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.1.