Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A Hidden Weakness (serge-sans-paille.github.io)
35 points by serge-ss-paille on June 2, 2025 | hide | past | favorite | 1 comment


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.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: