On 10/21/2024 1:35 PM, Kinney, Michael D wrote:
Would it help if code was modified to completely remove the use of
static in local variables and enforce that going forward and limit
use of static to functions and global variables?


We'd have to test further, but I believe that would allow Pedro's
scheme of simply `#define static <nothing>` to work. I ran a
quick godbolt test and it seems MSVC is also okay with that.

Oliver



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120642): https://edk2.groups.io/g/devel/message/120642
Mute This Topic: https://groups.io/mt/108941574/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to