http://bugs.winehq.org/show_bug.cgi?id=17297
Summary: widl must accept arguments to functions (midl doesn't have to) Product: Wine Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: rpc AssignedTo: wine-bugs@winehq.org ReportedBy: lkcl@lkcl.net
example:
void get_data([out] char*);
is valid syntax. widl barfs with the obtuse "syntax error" (gotta love flex/bison...) and must have this:
void get_data([out] char* foo);
i found the examples "com in plain c" and the IDL file in example 2 didn't have the variable names.
http://bugs.winehq.org/show_bug.cgi?id=17297
Rob Shearman robertshearman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Summary|widl must accept arguments |widl should accept unnamed |to functions (midl doesn't |arguments to functions |have to) |
--- Comment #1 from Rob Shearman robertshearman@gmail.com 2009-02-08 16:51:27 --- Agreed. I started working on this but it causes the grammar to become ambiguous unless rules are expanded somewhat to resolve this.
http://bugs.winehq.org/show_bug.cgi?id=17297
Rob Shearman robertshearman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |robertshearman@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=17297
--- Comment #2 from Rob Shearman robertshearman@gmail.com 2009-02-09 08:55:40 --- Created an attachment (id=19349) --> (http://bugs.winehq.org/attachment.cgi?id=19349) Enhancement to widl to support unnamed arguments in functions
This patch adds the feature of being able to use unnamed arguments to widl. Certain aspects of it will be split up into separate commits (e.g. re-structuring of attributes rules and moving of void argument check to type_new_function) and certain parts of it need compatibility testing with MIDL and the freedce IDL compiler (e.g. where an empty attribute list is accepted, if at all), so this needs a bit more work. However, the patch allow IDL files with unnamed arguments to be used unmodified in widl to avoid having to change IDL files sourced from other projects.
http://bugs.winehq.org/show_bug.cgi?id=17297
--- Comment #3 from Austin English austinenglish@gmail.com 2009-08-13 13:10:59 --- Is this still an issue in current (1.1.27 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=17297
Rob Shearman robertshearman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Rob Shearman robertshearman@gmail.com 2009-11-13 14:57:50 --- Implemented: http://source.winehq.org/git/wine.git/?a=commit;h=c3676245348b0222b1c2b61dc2...
http://bugs.winehq.org/show_bug.cgi?id=17297
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2009-12-04 12:15:56 --- Closing bugs fixed in 1.1.34.
http://bugs.winehq.org/show_bug.cgi?id=17297
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c3676245348b0222b1c2b61dc24 | |b26ad35a23b07