Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
JoachimSchipper
on Jan 1, 2014
|
parent
|
context
|
favorite
| on:
The Lost Art of C Structure Packing
gcc -Wpadded is very useful, too (its chief downside is that you don't usually want to combine it with -Werror - padding is not always bad.)
agwa
on Jan 1, 2014
|
next
[–]
You can always add -Wno-error=padded to disable -Werror just for -Wpadded
JoachimSchipper
on Jan 1, 2014
|
parent
|
next
[–]
I seem to have missed that trick. Thanks!
dllthomas
on Jan 2, 2014
|
prev
[–]
You could always pad manually to clear the warnings.
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: