mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[LIBXSLT] Disable misleading-indentation warnings
Fixes GCC 8 warning: dll/3rdparty/libxslt/security.c:358:5: error: this 'else' clause does not guard... [-Werror=misleading-indentation] else ^~~~ dll/3rdparty/libxslt/security.c:365:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if (ret <= 0) { ^~
This commit is contained in:
parent
089d59bc6c
commit
51fbf9e8c0
1 changed files with 4 additions and 0 deletions
4
dll/3rdparty/libxslt/CMakeLists.txt
vendored
4
dll/3rdparty/libxslt/CMakeLists.txt
vendored
|
@ -1,4 +1,8 @@
|
|||
|
||||
if(NOT MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
|
||||
add_compile_flags("-Wno-misleading-indentation")
|
||||
endif()
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/libxslt
|
||||
${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/libwin-iconv)
|
||||
|
||||
|
|
Loading…
Reference in a new issue