From aaf163295136400635dfbda31a9edce0a1ecfd69 Mon Sep 17 00:00:00 2001 From: Jeffrey Crowell Date: Mon, 4 Jul 2022 22:57:47 -0400 Subject: [PATCH] can't align extern --- ZAPDTR/ZAPD/ZResource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZAPDTR/ZAPD/ZResource.cpp b/ZAPDTR/ZAPD/ZResource.cpp index 15f786e59..391f54cf9 100644 --- a/ZAPDTR/ZAPD/ZResource.cpp +++ b/ZAPDTR/ZAPD/ZResource.cpp @@ -352,7 +352,7 @@ std::string ZResource::GetSourceOutputHeader([[maybe_unused]] const std::string& str += StringHelper::Sprintf("\nstatic const char %s[] __attribute__((aligned (2))) = d%s;", name.c_str(), name.c_str()); myset.insert(name); } else { - str += StringHelper::Sprintf("\nextern static const char %s[] __attribute__((aligned (2)));", name.c_str()); + str += StringHelper::Sprintf("\nextern static const char %s[];", name.c_str()); } return str;