mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08: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:
committed by
Hervé Poussineau
parent
089d59bc6c
commit
51fbf9e8c0
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user