Files
guix-mirror/gnu/packages/patches/qcodeeditor-fix-build-with-c++17.patch
Sughosha e464ab0093 gnu: qcodeeditor: Build with newer cmake.
* gnu/packages/qt.scm (qcodeeditor)[source]<patches>: Add
"qcodeeditor-fix-build-with-c++17.patch".
[arguments]<#:cmake>: Remove (use the default cmake).
* gnu/packages/patches/qcodeeditor-fix-build-with-c++17.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-07-25 17:40:38 +02:00

28 lines
695 B
Diff

This patch is not upstreamed. It followed the suggestion in
https://github.com/Megaxela/QCodeEditor/pull/50#issuecomment-3188359371.
From 4de40b23ffc1af37c72ac3b3263e1457b9fe1efb Mon Sep 17 00:00:00 2001
From: Sughosha <sughosha@disroot.org>
Date: Fri, 24 Jul 2026 11:05:39 +0530
Subject: [PATCH] Fix build with C++17.
---
CMakeLists.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 40d5617..64d35b9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -92,7 +92,6 @@ target_include_directories(QCodeEditor PUBLIC
if(CMAKE_COMPILER_IS_GNUCXX)
target_compile_options(QCodeEditor
PRIVATE
- -ansi
-pedantic
-Wall
-Wextra
--
2.54.0