diff options
Diffstat (limited to '0002-Disalbe-nullptr-compiler-warning-which-shadows-real-.patch')
-rw-r--r-- | 0002-Disalbe-nullptr-compiler-warning-which-shadows-real-.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/0002-Disalbe-nullptr-compiler-warning-which-shadows-real-.patch b/0002-Disalbe-nullptr-compiler-warning-which-shadows-real-.patch deleted file mode 100644 index 27bf3e568dc9..000000000000 --- a/0002-Disalbe-nullptr-compiler-warning-which-shadows-real-.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 20984ac45fa2026bb8f6f463bf194f1d83f9564a Mon Sep 17 00:00:00 2001 -From: Klaas Freitag <freitag@opensuse.org> -Date: Wed, 26 Dec 2018 22:07:20 +0100 -Subject: [PATCH 2/6] Disalbe nullptr compiler warning which shadows real - warnings for now. - ---- - CMakeLists.txt | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 7cf3879..5db1908 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -64,6 +64,8 @@ find_package(Ctemplate REQUIRED) - - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-suggest-override") - #option(QTINDICATE_DISABLE "Disable support for notifications via indicator") -+# disable the warning about null-pointer zero. FIXME. -+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-zero-as-null-pointer-constant") - - add_definitions(${QT_DEFINITIONS} ) - --- -2.20.1 - |