<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-e1-recorder/+/26099">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">configure: don't turn some warnings into errors<br><br>Do not turn some compiler warnings into errors by default. This part was<br>copied from openbsc.git 34f012 ("Turn some compiler warnings into<br>errors"), where it was added before --enable-werror was available.<br><br>We build with --enable-werror during development and in CI. If the code<br>is built with a different compiler that throws additional warnings, it<br>should not stop the build.<br><br>Related: OS#5289<br>Change-Id: Ib5602017545d68f0fdb0b4df7ed3087a2cb1775c<br>---<br>M configure.ac<br>1 file changed, 0 insertions(+), 12 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/configure.ac b/configure.ac</span><br><span>index e986809..cec703f 100644</span><br><span>--- a/configure.ac</span><br><span>+++ b/configure.ac</span><br><span>@@ -31,11 +31,6 @@</span><br><span> fi</span><br><span> PKG_PROG_PKG_CONFIG([0.20])</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-dnl check for AX_CHECK_COMPILE_FLAG</span><br><span style="color: hsl(0, 100%, 40%);">-m4_ifdef([AX_CHECK_COMPILE_FLAG], [], [</span><br><span style="color: hsl(0, 100%, 40%);">-  AC_MSG_ERROR([Please install autoconf-archive; re-run 'autoreconf -fi' for it to take effect.])</span><br><span style="color: hsl(0, 100%, 40%);">- ])</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.2.0)</span><br><span> PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.2.0)</span><br><span> PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.2.0)</span><br><span>@@ -87,13 +82,6 @@</span><br><span> CFLAGS="$saved_CFLAGS"</span><br><span> AC_SUBST(SYMBOL_VISIBILITY)</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-AX_CHECK_COMPILE_FLAG([-Werror=implicit], [CFLAGS="$CFLAGS -Werror=implicit"])</span><br><span style="color: hsl(0, 100%, 40%);">-AX_CHECK_COMPILE_FLAG([-Werror=maybe-uninitialized], [CFLAGS="$CFLAGS -Werror=maybe-uninitialized"])</span><br><span style="color: hsl(0, 100%, 40%);">-AX_CHECK_COMPILE_FLAG([-Werror=memset-transposed-args], [CFLAGS="$CFLAGS -Werror=memset-transposed-args"])</span><br><span style="color: hsl(0, 100%, 40%);">-AX_CHECK_COMPILE_FLAG([-Wnull-dereference], [CFLAGS="$CFLAGS -Wnull-dereference"])</span><br><span style="color: hsl(0, 100%, 40%);">-AX_CHECK_COMPILE_FLAG([-Werror=sizeof-array-argument], [CFLAGS="$CFLAGS -Werror=sizeof-array-argument"])</span><br><span style="color: hsl(0, 100%, 40%);">-AX_CHECK_COMPILE_FLAG([-Werror=sizeof-pointer-memaccess], [CFLAGS="$CFLAGS -Werror=sizeof-pointer-memaccess"])</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> # Coverage build taken from WebKit's configure.in</span><br><span> AC_MSG_CHECKING([whether to enable code coverage support])</span><br><span> AC_ARG_ENABLE(coverage,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-e1-recorder/+/26099">change 26099</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-e1-recorder/+/26099"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-e1-recorder </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ib5602017545d68f0fdb0b4df7ed3087a2cb1775c </div>
<div style="display:none"> Gerrit-Change-Number: 26099 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>