Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
naitgacem
10 months ago
|
parent
|
context
|
favorite
| on:
Compiler Options Hardening Guide for C and C++
I have been always stuck with C99, what is the "post" C23 way that will zero initialize a full union?
Or am I misunderstanding this?
dzaima
10 months ago
[–]
`={}` in place of `={0}` is the new option in C23.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Or am I misunderstanding this?