Attention is currently required from: arehbein, daniel, dexter, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/34445?usp=email )
Change subject: ipa: Don't break strict aliasing rule ......................................................................
Patch Set 2: Code-Review-2
(2 comments)
File include/osmocom/netif/ipa.h:
https://gerrit.osmocom.org/c/libosmo-netif/+/34445/comment/3b96d00f_26029c22 PS2, Line 26: #warning "OSMO_IPA_MSGB_CB breaks the strict aliasing rule. Don't use unless -fno-strict-aliasing flag is enabled!"
where are you seeing this problem? TBH I don't envision much of a problem here since we are accessin […]
See the referenced https://osmocom.org/issues/6164. Aren't you seeing these warnings on Arch?
File include/osmocom/netif/ipa.h:
https://gerrit.osmocom.org/c/libosmo-netif/+/34445/comment/914e54a2_d82acea3 PS1, Line 21: osmo_ipa_msgb_cb
Ah, alright. […]
Is this warning going to show up when compiling any files including this header and not necessarily using `OSMO_IPA_MSGB_CB`? If so, I am against this `#warning` pragma.