This sets off gcc-6.4 to spit out a 'error: missing braces around initializer'
error when compiling this. Adding a second set of braces around the 0
sub-struct initializer fixes things.
Details
Details
- compiled for gcc-6.4
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/sys/malloc.h | ||
---|---|---|
150 ↗ | (On Diff #79446) | Just drop the initialization. Designated initializers zero all members not mentioned. |