commit | 42e0dc0cc3d20b4c222151dc7a9b5e63dabac734 | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Tue Oct 08 12:04:41 2013 +0200 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Tue Oct 08 14:00:24 2013 +0200 |
tree | e953cc3c3c75febb32968da680dfd69ec6145f22 | |
parent | bb9f89745a96dc2b1452a05d4b0e260c276a5779 [diff] |
msgb: Add may_alias attribute to struct libgb_msgb_cb This explicitely allows aliasing of this struct to avoid the warning shown below. Note, that this warning isn't show when '-fno-strict-aliasing' is used. Addresses: gb/gprs_ns_test.c:85:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]