<p>Max has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12241">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Remove -Wall for autogenerated code<br><br>There seems to be no option for ttcn3_makefilegen to disable generated<br>code warnings so the only way to clear output from useless warnings<br>about indentation and such is to manually strip -Wall using sed.<br><br>Change-Id: I7ef141f7f3370a1bf909845ce8a4eb650b33fa81<br>---<br>M regen-makefile.sh<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/41/12241/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/regen-makefile.sh b/regen-makefile.sh</span><br><span>index b8be4ea..eb9ecdc 100755</span><br><span>--- a/regen-makefile.sh</span><br><span>+++ b/regen-makefile.sh</span><br><span>@@ -31,6 +31,9 @@</span><br><span> # see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879816 for details</span><br><span> sed -i -e 's/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include/CPPFLAGS = -D$(PLATFORM) -DMAKEDEPEND_RUN -DUSE_SCTP -I$(TTCN3_DIR)\/include -I\/usr\/include\/titan/' Makefile</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+#remove -Wall from CXXFLAGS: we're not interested in generic warnings for autogenerated code cluttering the logs</span><br><span style="color: hsl(120, 100%, 40%);">+sed -i -e 's/-Wall//' Makefile</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> if [ "x$CPPFLAGS_TTCN3" != "x" ]; then</span><br><span>      sed -i -e 's/CPPFLAGS_TTCN3 =/CPPFLAGS_TTCN3 = '"$CPPFLAGS_TTCN3"'/' Makefile</span><br><span> fi</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12241">change 12241</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/12241"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I7ef141f7f3370a1bf909845ce8a4eb650b33fa81 </div>
<div style="display:none"> Gerrit-Change-Number: 12241 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>