From 511b50e7bff5c67c9c928e47f4fbab66ddc0295c Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 1 Nov 2018 15:02:42 +0100 Subject: [PATCH] widl: Ignore -robust command line option. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- 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 a38f9170ead..96fb2403dd0 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;