nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 44 lines 1.5 kB view raw
1From aac9755fe41725ccf827d4de745fb1215c32329c Mon Sep 17 00:00:00 2001 2From: Sefa Eyeoglu <contact@scrumplex.net> 3Date: Thu, 1 Jan 2026 16:05:41 +0100 4Subject: [PATCH] Fixes for GCC 15 support 5 6Fixes the following compliation failures: 7 8src/ES2Command/Linux/../Src/Utils/ESAccessor.h:177:17: error: 'const class CESAccessor::CSetterFunc<_ValueType>' has no member named 'func'; did you mean 'm_func'? [-Wtemplate-body] 9src/Controller/./Src/Filter/GrayToMono.hpp:27:37: error: 'pow' was not declared in this scope 10 11Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net> 12--- 13 src/Controller/Src/Filter/GrayToMono.hpp | 1 + 14 src/ES2Command/Src/Utils/ESAccessor.h | 2 +- 15 2 files changed, 2 insertions(+), 1 deletion(-) 16 17diff --git a/src/Controller/Src/Filter/GrayToMono.hpp b/src/Controller/Src/Filter/GrayToMono.hpp 18index 0eec964..c21653f 100755 19--- a/src/Controller/Src/Filter/GrayToMono.hpp 20+++ b/src/Controller/Src/Filter/GrayToMono.hpp 21@@ -24,6 +24,7 @@ 22 #include "ModelInfo.hpp" 23 #include "Filter.hpp" 24 #include "../FileFormat/FFManager.hpp" 25+#include <math.h> 26 #define CONVERT_TO_GAMMA22(x) (255.*pow(((x)/255.) , (1.0/2.2))) 27 namespace epsonscan 28 { 29diff --git a/src/ES2Command/Src/Utils/ESAccessor.h b/src/ES2Command/Src/Utils/ESAccessor.h 30index 700a680..b537ba7 100755 31--- a/src/ES2Command/Src/Utils/ESAccessor.h 32+++ b/src/ES2Command/Src/Utils/ESAccessor.h 33@@ -174,7 +174,7 @@ protected: 34 { 35 } 36 CSetterFunc(const CSetterFunc& rhs) 37- : m_func(rhs.func) 38+ : m_func(rhs.m_func) 39 { 40 } 41 virtual ISetterFunc* Clone() 42-- 432.51.2 44