<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-hnodeb/+/26213">View Change</a></p><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: I783035fcded73f9c3938c4110ccb84eddc36a274<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;">git pull ssh://gerrit.osmocom.org:29418/osmo-hnodeb refs/changes/13/26213/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/configure.ac b/configure.ac</span><br><span>index 5b4ca8b..1b06e42 100644</span><br><span>--- a/configure.ac</span><br><span>+++ b/configure.ac</span><br><span>@@ -36,11 +36,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> dnl checks for libraries</span><br><span> AC_SEARCH_LIBS([dlopen], [dl dld], [LIBRARY_DL="$LIBS";LIBS=""])</span><br><span> AC_SUBST(LIBRARY_DL)</span><br><span>@@ -114,13 +109,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-hnodeb/+/26213">change 26213</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-hnodeb/+/26213"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hnodeb </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I783035fcded73f9c3938c4110ccb84eddc36a274 </div>
<div style="display:none"> Gerrit-Change-Number: 26213 </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-MessageType: newchange </div>