debian/patches/no-ansi-to-set-c++-std.patch
raw| 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 2 | index 40d5617..fb12a54 100644 |
| 3 | --- a/CMakeLists.txt |
| 4 | +++ b/CMakeLists.txt |
| 5 | @@ -90,12 +93,11 @@ |
| 6 | ) |
| 7 | |
| 8 | if(CMAKE_COMPILER_IS_GNUCXX) |
| 9 | target_compile_options(QCodeEditor |
| 10 | PRIVATE |
| 11 | - -ansi |
| 12 | -pedantic |
| 13 | -Wall |
| 14 | -Wextra |
| 15 | -Weffc++ |
| 16 | -Woverloaded-virtual |
| 17 | -Winit-self |