Author: cwittich
Date: Sun Jan 18 06:08:55 2009
New Revision: 38884
URL:
http://svn.reactos.org/svn/reactos?rev=38884&view=rev
Log:
warning fixes
Modified:
trunk/reactos/tools/widl/proxy.c
trunk/reactos/tools/widl/server.c
Modified: trunk/reactos/tools/widl/proxy.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/proxy.c?rev=388…
==============================================================================
--- trunk/reactos/tools/widl/proxy.c [iso-8859-1] (original)
+++ trunk/reactos/tools/widl/proxy.c [iso-8859-1] Sun Jan 18 06:08:55 2009
@@ -122,10 +122,12 @@
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");
}
Modified: trunk/reactos/tools/widl/server.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/server.c?rev=38…
==============================================================================
--- trunk/reactos/tools/widl/server.c [iso-8859-1] (original)
+++ trunk/reactos/tools/widl/server.c [iso-8859-1] Sun Jan 18 06:08:55 2009
@@ -391,10 +391,12 @@
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");
}