warning fixes

svn path=/trunk/; revision=38884
This commit is contained in:
Christoph von Wittich 2009-01-18 12:08:55 +00:00
parent 88cd4628a0
commit 076028efe9
2 changed files with 4 additions and 0 deletions

View file

@ -122,10 +122,12 @@ static void init_proxy(const statement_list_t *stmts)
print_proxy( " void *This;\n");
print_proxy( "};\n");
print_proxy( "\n");
print_proxy("#ifndef USE_COMPILER_EXCEPTIONS\n");
print_proxy("static int __proxy_filter( struct __proxy_frame *__frame )\n");
print_proxy( "{\n");
print_proxy( " return (__frame->_StubMsg.dwStubPhase != PROXY_SENDRECEIVE);\n");
print_proxy( "}\n");
print_proxy("#endif /* USE_COMPILER_EXCEPTIONS */\n");
print_proxy( "\n");
}

View file

@ -391,10 +391,12 @@ static void init_server(void)
print_server(" MIDL_STUB_MESSAGE _StubMsg;\n");
print_server("};\n");
print_server("\n");
print_server("#ifndef USE_COMPILER_EXCEPTIONS\n");
print_server("static int __server_filter( struct __server_frame *__frame )\n");
print_server( "{\n");
print_server( " return RPC_BAD_STUB_DATA_EXCEPTION_FILTER;\n");
print_server( "}\n");
print_server( "#endif /* USE_COMPILER_EXCEPTIONS */\n");
print_server( "\n");
}