mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Windows, compiling : use /permissive- switch to improve conformance
fix a couple "initialization skipped by goto" and other new errors.
This commit is contained in:
parent
8fe04a3df3
commit
53476abce8
12 changed files with 61 additions and 42 deletions
|
|
@ -333,6 +333,7 @@ IF(MSVC)
|
|||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4267")
|
||||
ENDIF()
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4996")
|
||||
string(REPLACE "/permissive-" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||
ENDIF()
|
||||
|
||||
# Install some extra files that belong to connect engine
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ DOMDOC::DOMDOC(char *nsl, char *nsdf, char *enc, PFBLOCK fp)
|
|||
: XMLDOCUMENT(nsl, nsdf, enc)
|
||||
{
|
||||
assert (!fp || fp->Type == TYPE_FB_XML);
|
||||
Docp = (fp) ? ((PXBLOCK)fp)->Docp : NULL;
|
||||
Docp = (fp) ? ((PXBLOCK)fp)->Docp : (MSXML2::IXMLDOMDocumentPtr)NULL;
|
||||
Nlist = NULL;
|
||||
Hr = 0;
|
||||
} // end of DOMDOC constructor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue