summaryrefslogtreecommitdiff
path: root/sdk/sdk_test.go
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2019-12-03 18:13:00 -0800
committer Elliott Hughes <enh@google.com> 2019-12-04 08:48:45 -0800
commit2cdbdf1093610033c6ddfb2269755249687830f9 (patch)
tree822639fe674271935130ff41fe7b7f8809ae2c57 /sdk/sdk_test.go
parentdc9369ef7fc9c971a59d6586adf02a69e7dfdec7 (diff)
Enable -Wpragma-pack warnings as errors.
The use of pragma pack(1) affects the packed-ness of every struct definition that follows it in the translation unit, even in following header files. This can lead to multiple translation units disagreeing on whether a struct is packed. Enable the warnings (as errors) that help spot this problem. Bug: http://b/73971777 Test: treehugger Change-Id: Id3096f35dff5dc8723d30d1305f1ed7ae8190a32
Diffstat (limited to 'sdk/sdk_test.go')
0 files changed, 0 insertions, 0 deletions