4 ms·
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.)
by JoachimSchipper 13y ago
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 13y agoYou can always add -Wno-error=padded to disable -Werror just for -Wpadded
- JoachimSchipper 13y agoI seem to have missed that trick. Thanks!
- dllthomas 13y agoYou could always pad manually to clear the warnings.