From 63bbaf39264263f2cc725b0dc469b90eac697a4e Mon Sep 17 00:00:00 2001 From: mikee47 Date: Sun, 26 May 2024 12:43:27 +0100 Subject: [PATCH] Fix problem defining arrays in class declarations - Fix `static_assert` failure using `int64_t` for map keys - Add integration tests to verify before/after behaviour. - Update documentation For example, this code produces `__fstr__myIntArray not defined` error: ``` struct MyClass { DEFINE_FSTR_ARRAY_LOCAL(myIntArray, int, 1, 2, 3, 4, 5) }; ``` The same issue applies to maps and vectors. --- Sming/Components/FlashString | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sming/Components/FlashString b/Sming/Components/FlashString index 8f91c37d6b..c7f2b606c1 160000 --- a/Sming/Components/FlashString +++ b/Sming/Components/FlashString @@ -1 +1 @@ -Subproject commit 8f91c37d6bc87f1109084c55d70aac9695e33d30 +Subproject commit c7f2b606c121d757a385b17faa50b7b7367d223a