<p style="white-space: pre-wrap; word-wrap: break-word;">We really need to regenerate all the code adding per-lib prefixes per lib (I think as1nc supports passing a prefix).</p><p style="white-space: pre-wrap; word-wrap: break-word;">Is it documented somewhere how to regenerate the code?</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">There's even enums and enum fields colliding:<br>"""<br>In file included from /build/new/out/include/osmocom/ranap/RANAP_GA-Point.h:14,<br>                 from /build/new/out/include/osmocom/ranap/RANAP_GeographicalArea.h:14,<br>                 from /build/new/out/include/osmocom/ranap/RANAP_AreaIdentity.h:15,<br>                 from /build/new/out/include/osmocom/ranap/ranap_common.h:29,<br>                 from /git/osmo-hnodeb/src/osmo-hnodeb/main.c:69:<br>/build/new/out/include/osmocom/ranap/RANAP_GeographicalCoordinates.h:24:14: error: redeclaration of ‘enum latitudeSign’<br>   24 | typedef enum latitudeSign {<br>      |              ^~~~~~~~~~~~<br>In file included from /build/new/out/include/osmocom/hnbap/hnbap_common.h:41,<br>                 from /git/osmo-hnodeb/src/osmo-hnodeb/main.c:54:<br>/build/new/out/include/osmocom/hnbap/GeographicalCoordinates.h:24:14: note: originally defined here<br>   24 | typedef enum latitudeSign {<br>      |              ^~~~~~~~~~~~<br>In file included from /build/new/out/include/osmocom/ranap/RANAP_GA-Point.h:14,<br>                 from /build/new/out/include/osmocom/ranap/RANAP_GeographicalArea.h:14,<br>                 from /build/new/out/include/osmocom/ranap/RANAP_AreaIdentity.h:15,<br>                 from /build/new/out/include/osmocom/ranap/ranap_common.h:29,<br>                 from /git/osmo-hnodeb/src/osmo-hnodeb/main.c:69:<br>/build/new/out/include/osmocom/ranap/RANAP_GeographicalCoordinates.h:25:9: error: redeclaration of enumerator ‘latitudeSign_north’<br>   25 |         latitudeSign_north      = 0,<br>      |         ^~~~~~~~~~~~~~~~~~<br>In file included from /build/new/out/include/osmocom/hnbap/hnbap_common.h:41,<br>                 from /git/osmo-hnodeb/src/osmo-hnodeb/main.c:54:<br>/build/new/out/include/osmocom/hnbap/GeographicalCoordinates.h:25:9: note: previous definition of ‘latitudeSign_north’ with type ‘enum latitudeSign’<br>   25 |         latitudeSign_north      = 0,<br>      |         ^~~~~~~~~~~~~~~~~~<br>""""</pre><p><a href="https://gerrit.osmocom.org/c/osmo-iuh/+/25888">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-iuh/+/25888">change 25888</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/c/osmo-iuh/+/25888"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-iuh </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I552fc028c7d08c880fdb844ece75816602c5bb67 </div>
<div style="display:none"> Gerrit-Change-Number: 25888 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 21 Oct 2021 17:16:54 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>