Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for DavidCary
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #287754 |
Going the other direction, assigning a struct pointer to a block of memory allocated much larger than that structure, is common: https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html ; https://news.ycombinator.com/item?id=11674374 . (But I realize now doesn't answer your question). (more) |
— | almost 2 years ago |
Comment | Post #282566 |
"The default is -Wunused-result" --
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
seems to say that
-Wunused-result is already enabled by default. (more) |
— | about 3 years ago |