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
87045eb0
Commit
87045eb0
authored
Sep 29, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rpcndr.h so it takes CONST_VTABLE into account.
Define CONST_VTABLE in the tests that need it. This fixes many Visual C++ warnings.
parent
4b2d7e93
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
15 additions
and
0 deletions
+15
-0
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+1
-0
compobj.c
dlls/ole32/tests/compobj.c
+1
-0
marshal.c
dlls/ole32/tests/marshal.c
+1
-0
webbrowser.c
dlls/shdocvw/tests/webbrowser.c
+1
-0
shlfolder.c
dlls/shell32/tests/shlfolder.c
+1
-0
misc.c
dlls/urlmon/tests/misc.c
+1
-0
protocol.c
dlls/urlmon/tests/protocol.c
+1
-0
url.c
dlls/urlmon/tests/url.c
+1
-0
rpcndr.h
include/rpcndr.h
+7
-0
No files found.
dlls/mshtml/tests/htmldoc.c
View file @
87045eb0
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
*/
*/
#define COBJMACROS
#define COBJMACROS
#define CONST_VTABLE
#include <wine/test.h>
#include <wine/test.h>
#include <stdarg.h>
#include <stdarg.h>
...
...
dlls/ole32/tests/compobj.c
View file @
87045eb0
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
*/
*/
#define COBJMACROS
#define COBJMACROS
#define CONST_VTABLE
#include <stdarg.h>
#include <stdarg.h>
...
...
dlls/ole32/tests/marshal.c
View file @
87045eb0
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#define _WIN32_DCOM
#define _WIN32_DCOM
#define COBJMACROS
#define COBJMACROS
#define CONST_VTABLE
#include <stdarg.h>
#include <stdarg.h>
...
...
dlls/shdocvw/tests/webbrowser.c
View file @
87045eb0
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
*/
*/
#define COBJMACROS
#define COBJMACROS
#define CONST_VTABLE
#include <wine/test.h>
#include <wine/test.h>
#include <stdarg.h>
#include <stdarg.h>
...
...
dlls/shell32/tests/shlfolder.c
View file @
87045eb0
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <stdio.h>
#define COBJMACROS
#define COBJMACROS
#define CONST_VTABLE
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
...
...
dlls/urlmon/tests/misc.c
View file @
87045eb0
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
*/
*/
#define COBJMACROS
#define COBJMACROS
#define CONST_VTABLE
#include <wine/test.h>
#include <wine/test.h>
#include <stdarg.h>
#include <stdarg.h>
...
...
dlls/urlmon/tests/protocol.c
View file @
87045eb0
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
*/
*/
#define COBJMACROS
#define COBJMACROS
#define CONST_VTABLE
#include <wine/test.h>
#include <wine/test.h>
#include <stdarg.h>
#include <stdarg.h>
...
...
dlls/urlmon/tests/url.c
View file @
87045eb0
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include <stdarg.h>
#include <stdarg.h>
#define COBJMACROS
#define COBJMACROS
#define CONST_VTABLE
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
...
...
include/rpcndr.h
View file @
87045eb0
...
@@ -30,6 +30,13 @@ extern "C" {
...
@@ -30,6 +30,13 @@ extern "C" {
#include <basetsd.h>
#include <basetsd.h>
#undef CONST_VTBL
#ifdef CONST_VTABLE
# define CONST_VTBL const
#else
# define CONST_VTBL
#endif
/* stupid #if can't handle casts... this __stupidity
/* stupid #if can't handle casts... this __stupidity
is just a workaround for that limitation */
is just a workaround for that limitation */
...
...
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