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 +---> 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{ 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