<p><a href="https://gerrit.osmocom.org/13259">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/13259/9//COMMIT_MSG">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13259/9//COMMIT_MSG@15">Patch Set #9, Line 15:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">the<br>gsm0808.c actually also gets built on embedded systems that lack arpa/inet.h<br>(for me indicated by the ARM build job on jenkins)<br></pre></blockquote></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">we can simply not compile 08.08 related functions in the "embedded" case. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Yes, I actually did try quite a few things, and in the end decided it's not worth it to waste my time on.<br>Originally I wanted to use a struct sockaddr as a member in struct gsm0808_handover_*.<br>In the meantime I have befriended the idea of passing pointers in those structs, so not that urgent.</p><p style="white-space: pre-wrap; word-wrap: break-word;">The core problem was that I cannot use struct sockaddr as a non-opaque struct in the header file.<br>Even though on embedded, the .c file isn't built, the header file is still included!<br>And in the .h file one obviously cannot use '#if (!EMBEDDED)', because in /usr/include there is no config.h.</p><p style="white-space: pre-wrap; word-wrap: break-word;">It's not a big deal for me anymore,<br>but in general the include / compile semantics for gsm0808.h are unsorted/wrong.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13259">change 13259</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/13259"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ia71542ea37d4fd2c9fb9b40357db7aeb111ec576 </div>
<div style="display:none"> Gerrit-Change-Number: 13259 </div>
<div style="display:none"> Gerrit-PatchSet: 9 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 12 Apr 2019 00:08:30 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>