[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#984053: fix for etl: ftbfs with GCC-11



I fixed this issue upstream and attached the patch here.

Upstream commit:
https://github.com/synfig/synfig/commit/e2f89aac473ba9016582d35f9fac74e61e99ec8c


From e2f89aac473ba9016582d35f9fac74e61e99ec8c Mon Sep 17 00:00:00 2001
From: rodolforg <rodolforg@users.noreply.github.com>
Date: Mon, 28 Feb 2022 22:46:15 -0300
Subject: [PATCH] ETL test: avoid clash between ETL::hermite and std::hermite (#2547)

---
 ETL/test/angle.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ETL/test/angle.cpp b/ETL/test/angle.cpp
index 60042ef..3cc52b1 100644
--- a/ETL/test/angle.cpp
+++ b/ETL/test/angle.cpp
@@ -201,7 +201,7 @@ int angle_test()
 
 		affine_combo<angle> combo;
 
-		hermite<angle> hermie(a,b,b.dist(a),b.dist(a));
+		etl::hermite<angle> hermie(a,b,b.dist(a),b.dist(a));
 
 		for(f=0;f<1.001;f+=0.1)
 		{
--
libgit2 1.1.0


Reply to: