From 6c403db7f2d93945c5f3599d11ae53c9880cf334 Mon Sep 17 00:00:00 2001 From: chlorophyll-zz <43696399+chlorophyll-zz@users.noreply.github.com> Date: Thu, 2 Sep 2021 13:52:36 +0200 Subject: [PATCH 1/3] Fix: Ambigous 'data' in global scope Fixes #184 Probably breaks another thing. Ambigous 'data' in global scope https://root-forum.cern.ch/t/ambiguous-data-in-global-scope/41490 --- internal/c/common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/c/common.h b/internal/c/common.h index 38fcf6f8d..aa46548f9 100644 --- a/internal/c/common.h +++ b/internal/c/common.h @@ -100,7 +100,6 @@ #endif #endif - using namespace std; //QB64 string descriptor structure struct qbs_field{ From fcb714133b5febb4140b91d35dfe471bb23a3a96 Mon Sep 17 00:00:00 2001 From: chlorophyll-zz <43696399+chlorophyll-zz@users.noreply.github.com> Date: Thu, 2 Sep 2021 14:45:10 +0200 Subject: [PATCH 2/3] Update libqb.h this fixes PR #185 --- internal/c/libqb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/c/libqb.h b/internal/c/libqb.h index a9cd39f1f..30bd85362 100644 --- a/internal/c/libqb.h +++ b/internal/c/libqb.h @@ -68,4 +68,6 @@ extern qbs *qbs_lcase(qbs *str); extern qbs *qbs_ucase(qbs *str); + + using namespace std; #endif From 4432c8dcfeb81a1ddd881fb0fef23bd22de96320 Mon Sep 17 00:00:00 2001 From: Luke Ceddia Date: Sun, 5 Sep 2021 00:45:55 +1000 Subject: [PATCH 3/3] Update changelog [ci-skip] --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb7b94884..447286cf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ ### Linux - `xmessage` added to dependency list (setup script). - Fixes `InKey$` acting too slow. +- Fix compilation error with DATA statements on gcc 11. \ No newline at end of file +--->