[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdevelop/5.3] plugins/astyle/3rdparty/libastyle: astyle: -Wno-zero-as-null-pointer-constant no more
From:       Friedrich W. H. Kossebau <null () kde ! org>
Date:       2018-09-22 11:00:58
Message-ID: E1g3fek-0007fw-DK () code ! kde ! org
[Download RAW message or body]

Git commit 82063708999f7ac6aedd9fbef4bc8e8069a71667 by Friedrich W. H. Koss=
ebau.
Committed on 22/09/2018 at 10:37.
Pushed by kossebau into branch '5.3'.

astyle: -Wno-zero-as-null-pointer-constant no more needed for libastyle

M  +0    -3    plugins/astyle/3rdparty/libastyle/CMakeLists.txt

https://commits.kde.org/kdevelop/82063708999f7ac6aedd9fbef4bc8e8069a71667

diff --git a/plugins/astyle/3rdparty/libastyle/CMakeLists.txt b/plugins/ast=
yle/3rdparty/libastyle/CMakeLists.txt
index 2b4eb0d99f..db74ef1f95 100644
--- a/plugins/astyle/3rdparty/libastyle/CMakeLists.txt
+++ b/plugins/astyle/3rdparty/libastyle/CMakeLists.txt
@@ -18,9 +18,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
     # astyle lib throws lots of warnings with -Wdocumentation
     add_target_compile_flag_if_supported(astylelib PRIVATE "-Wno-documenta=
tion")
 endif()
-if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES =
"Clang")
-    add_target_compile_flag_if_supported(astylelib PRIVATE "-Wno-zero-as-n=
ull-pointer-constant")
-endif()
 if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
     add_target_compile_flag_if_supported(astylelib PRIVATE "-Wno-suggest-o=
verride")
 endif()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic