mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
[LIBXML2] Actually, the VS build has the /wd4189 flag before /we4189 rendering it useless. Use another approach to silencing it.
svn path=/trunk/; revision=69027
This commit is contained in:
parent
739486b5a0
commit
a0673404ef
2
reactos/lib/3rdparty/libxml2/CMakeLists.txt
vendored
2
reactos/lib/3rdparty/libxml2/CMakeLists.txt
vendored
|
@ -68,7 +68,7 @@ add_pch(libxml2 libxml.h SOURCE)
|
||||||
add_dependencies(libxml2 psdk)
|
add_dependencies(libxml2 psdk)
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_target_compile_flags(libxml2 "/wd4189")
|
replace_compile_flags("/we4189" " ")
|
||||||
else()
|
else()
|
||||||
add_target_compile_flags(libxml2 "-w")
|
add_target_compile_flags(libxml2 "-w")
|
||||||
endif()
|
endif()
|
||||||
|
|
14
reactos/lib/3rdparty/libxml2/libxml2_ros.diff
vendored
14
reactos/lib/3rdparty/libxml2/libxml2_ros.diff
vendored
|
@ -1,14 +0,0 @@
|
||||||
Index: uri.c
|
|
||||||
===================================================================
|
|
||||||
--- uri.c (revision 69017)
|
|
||||||
+++ uri.c (working copy)
|
|
||||||
@@ -2389,7 +2389,9 @@
|
|
||||||
*/
|
|
||||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
|
||||||
int len = 0;
|
|
||||||
+#ifndef __REACTOS__
|
|
||||||
int i = 0;
|
|
||||||
+#endif
|
|
||||||
xmlChar *p = NULL;
|
|
||||||
#endif
|
|
||||||
xmlURIPtr uri;
|
|
2
reactos/lib/3rdparty/libxml2/uri.c
vendored
2
reactos/lib/3rdparty/libxml2/uri.c
vendored
|
@ -2389,9 +2389,7 @@ xmlCanonicPath(const xmlChar *path)
|
||||||
*/
|
*/
|
||||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
int len = 0;
|
int len = 0;
|
||||||
#ifndef __REACTOS__
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
#endif
|
|
||||||
xmlChar *p = NULL;
|
xmlChar *p = NULL;
|
||||||
#endif
|
#endif
|
||||||
xmlURIPtr uri;
|
xmlURIPtr uri;
|
||||||
|
|
Loading…
Reference in a new issue