diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-05-06 11:43:04 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-05-16 13:40:48 -0700 |
| commit | 0b9275b2c7ed2f88491898345e03618dbfbf4b0f (patch) | |
| tree | 9056e1634c9fb9dd58500c0945beb32e895f374c /lib/csum.h | |
| parent | f4070db7e5ae7727876d6cc318fba10033dc2c85 (diff) | |
| download | openvswitch-0b9275b2c7ed2f88491898345e03618dbfbf4b0f.tar.gz | |
util: Suppress build assertions when building with sparse.
sparse simply doesn't like our build assertions on packed structures.
It seems that its ideas about struct packing are different from GCC's:
../lib/cfm.h:50:1: error: invalid bitfield width, -1.
../lib/packets.h:206:1: error: invalid bitfield width, -1.
../lib/packets.h:213:1: error: invalid bitfield width, -1.
../lib/packets.h:367:1: error: invalid bitfield width, -1.
sparse isn't generating code so we don't really care how it lays out
structures. We might as well just skip the assertions, as done here.
Diffstat (limited to 'lib/csum.h')
0 files changed, 0 insertions, 0 deletions
