Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4d323d17
Commit
4d323d17
authored
Nov 07, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Ignore -app_config option.
parent
ced7d66a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
widl.c
tools/widl/widl.c
+9
-2
widl.man.in
tools/widl/widl.man.in
+2
-0
No files found.
tools/widl/widl.c
View file @
4d323d17
...
@@ -51,6 +51,7 @@
...
@@ -51,6 +51,7 @@
static
const
char
usage
[]
=
static
const
char
usage
[]
=
"Usage: widl [options...] infile.idl
\n
"
"Usage: widl [options...] infile.idl
\n
"
" or: widl [options...] --dlldata-only name1 [name2...]
\n
"
" or: widl [options...] --dlldata-only name1 [name2...]
\n
"
" -app_config Ignored, present for midl compatibility
\n
"
" -b arch Set the target architecture
\n
"
" -b arch Set the target architecture
\n
"
" -c Generate client stub
\n
"
" -c Generate client stub
\n
"
" -d n Set debug level to 'n'
\n
"
" -d n Set debug level to 'n'
\n
"
...
@@ -154,7 +155,8 @@ enum {
...
@@ -154,7 +155,8 @@ enum {
WIN32_OPTION
,
WIN32_OPTION
,
WIN64_OPTION
,
WIN64_OPTION
,
WIN32_ALIGN_OPTION
,
WIN32_ALIGN_OPTION
,
WIN64_ALIGN_OPTION
WIN64_ALIGN_OPTION
,
APP_CONFIG_OPTION
};
};
static
const
char
short_options
[]
=
static
const
char
short_options
[]
=
...
@@ -173,6 +175,7 @@ static const struct option long_options[] = {
...
@@ -173,6 +175,7 @@ static const struct option long_options[] = {
{
"win64"
,
0
,
NULL
,
WIN64_OPTION
},
{
"win64"
,
0
,
NULL
,
WIN64_OPTION
},
{
"win32-align"
,
1
,
NULL
,
WIN32_ALIGN_OPTION
},
{
"win32-align"
,
1
,
NULL
,
WIN32_ALIGN_OPTION
},
{
"win64-align"
,
1
,
NULL
,
WIN64_ALIGN_OPTION
},
{
"win64-align"
,
1
,
NULL
,
WIN64_ALIGN_OPTION
},
{
"app_config"
,
0
,
NULL
,
APP_CONFIG_OPTION
},
{
NULL
,
0
,
NULL
,
0
}
{
NULL
,
0
,
NULL
,
0
}
};
};
...
@@ -511,7 +514,7 @@ int main(int argc,char *argv[])
...
@@ -511,7 +514,7 @@ int main(int argc,char *argv[])
now
=
time
(
NULL
);
now
=
time
(
NULL
);
while
((
optc
=
getopt_long
(
argc
,
argv
,
short_options
,
long_options
,
&
opti
))
!=
EOF
)
{
while
((
optc
=
getopt_long
_only
(
argc
,
argv
,
short_options
,
long_options
,
&
opti
))
!=
EOF
)
{
switch
(
optc
)
{
switch
(
optc
)
{
case
DLLDATA_OPTION
:
case
DLLDATA_OPTION
:
dlldata_name
=
xstrdup
(
optarg
);
dlldata_name
=
xstrdup
(
optarg
);
...
@@ -558,6 +561,10 @@ int main(int argc,char *argv[])
...
@@ -558,6 +561,10 @@ int main(int argc,char *argv[])
if
(
win64_packing
!=
2
&&
win64_packing
!=
4
&&
win64_packing
!=
8
)
if
(
win64_packing
!=
2
&&
win64_packing
!=
4
&&
win64_packing
!=
8
)
error
(
"Packing must be one of 2, 4 or 8
\n
"
);
error
(
"Packing must be one of 2, 4 or 8
\n
"
);
break
;
break
;
case
APP_CONFIG_OPTION
:
/* widl does not distinguish between app_mode and default mode,
but we ignore this option for midl compatibility */
break
;
case
'b'
:
case
'b'
:
set_target
(
optarg
);
set_target
(
optarg
);
break
;
break
;
...
...
tools/widl/widl.man.in
View file @
4d323d17
...
@@ -114,6 +114,8 @@ prefixed with \fB0x\fR, it will be interpreted as an hexadecimal
...
@@ -114,6 +114,8 @@ prefixed with \fB0x\fR, it will be interpreted as an hexadecimal
number. For the meaning of values, see the \fBDebug\fR section.
number. For the meaning of values, see the \fBDebug\fR section.
.PP
.PP
.B Miscellaneous options:
.B Miscellaneous options:
.IP "\fB-app_config\f"
Ignored, present for midl compatibility.
.IP "\fB--local-stubs=\fIfile\fR"
.IP "\fB--local-stubs=\fIfile\fR"
Generate empty stubs for call_as/local methods in an object interface and
Generate empty stubs for call_as/local methods in an object interface and
write them to \fIfile\fR.
write them to \fIfile\fR.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment