Skip to content(if available)orjump to list(if available)

A Hidden Weakness

A Hidden Weakness

1 comments

·June 2, 2025

dcrazy

When I got to the first mention of weak linking, I thought this was going to be about the case where the optimizer removes comparisons to NULL when you use the linker to directly mark the imported symbol as weak. If you want to use weak symbols, you definitely need to mark them with the compiler attribute.