mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
[PSDK] Remove default value for BSTR parameter in msxml2.idl
Fixes GCC 8 warning: In file included from base/applications/msconfig_new/xmldomparser.hpp:26, from base/applications/msconfig_new/toolspage.cpp:11: sdk/include/psdk/msxml2.h:12705:20: error: ISO C++ forbids converting a string constant to 'BSTR' {aka 'wchar_t*'} [-Werror=write-strings] BSTR uri = L"x") = 0; ^~~~
This commit is contained in:
parent
48f3efa254
commit
e825783b75
1 changed files with 5 additions and 1 deletions
|
@ -1258,7 +1258,7 @@ interface IXSLProcessor : IDispatch
|
|||
[id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)]
|
||||
HRESULT setStartMode(
|
||||
[in] BSTR p,
|
||||
[in, defaultvalue(L"")] BSTR uri);
|
||||
[in] BSTR uri);
|
||||
|
||||
[propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)]
|
||||
HRESULT startMode([retval, out] BSTR *p);
|
||||
|
@ -1286,7 +1286,11 @@ interface IXSLProcessor : IDispatch
|
|||
HRESULT addParameter(
|
||||
[in] BSTR p,
|
||||
[in] VARIANT var,
|
||||
#ifndef __REACTOS__
|
||||
[in, defaultvalue(L"")] BSTR uri);
|
||||
#else
|
||||
[in] BSTR uri);
|
||||
#endif
|
||||
|
||||
[id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)]
|
||||
HRESULT addObject(
|
||||
|
|
Loading…
Reference in a new issue