Jacek Caban : widl: Ignore -robust command line option.
Alexandre Julliard
julliard at winehq.org
Thu Nov 1 16:33:52 CDT 2018
Module: wine
Branch: master
Commit: 511b50e7bff5c67c9c928e47f4fbab66ddc0295c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=511b50e7bff5c67c9c928e47f4fbab66ddc0295c
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Nov 1 15:02:42 2018 +0100
widl: Ignore -robust command line option.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
tools/widl/widl.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/tools/widl/widl.c b/tools/widl/widl.c
index a38f917..96fb240 100644
--- a/tools/widl/widl.c
+++ b/tools/widl/widl.c
@@ -72,6 +72,7 @@ static const char usage[] =
" --prefix-client=p Prefix names of client stubs with 'p'\n"
" --prefix-server=p Prefix names of server functions with 'p'\n"
" -r Generate registration script\n"
+" -robust Ignored, present for midl compatibility\n"
" --winrt Enable Windows Runtime mode\n"
" --ns_prefix Prefix namespaces with ABI namespace\n"
" -s Generate server stub\n"
@@ -163,7 +164,8 @@ enum {
WIN64_OPTION,
WIN32_ALIGN_OPTION,
WIN64_ALIGN_OPTION,
- APP_CONFIG_OPTION
+ APP_CONFIG_OPTION,
+ ROBUST_OPTION
};
static const char short_options[] =
@@ -179,6 +181,7 @@ static const struct option long_options[] = {
{ "prefix-all", 1, NULL, PREFIX_ALL_OPTION },
{ "prefix-client", 1, NULL, PREFIX_CLIENT_OPTION },
{ "prefix-server", 1, NULL, PREFIX_SERVER_OPTION },
+ { "robust", 0, NULL, ROBUST_OPTION },
{ "winrt", 0, NULL, RT_OPTION },
{ "win32", 0, NULL, WIN32_OPTION },
{ "win64", 0, NULL, WIN64_OPTION },
@@ -609,6 +612,9 @@ int main(int argc,char *argv[])
/* widl does not distinguish between app_mode and default mode,
but we ignore this option for midl compatibility */
break;
+ case ROBUST_OPTION:
+ /* FIXME: Support robust option */
+ break;
case 'b':
set_target( optarg );
break;
More information about the wine-cvs
mailing list