<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 16, 2015 at 2:03 PM, Zbigniew Jędrzejewski-Szmek <span dir="ltr"><<a href="mailto:zbyszek@in.waw.pl" target="_blank">zbyszek@in.waw.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">On Mon, Feb 16, 2015 at 02:02:17PM -0800, Shawn Landden wrote:<br>
> Introduced in gcc-5<br>
><br>
> These errors are really annoying. I can get behind clarification of nested ifs,<br>
> but this is overkill.<br>
> ---<br>
> <a href="http://configure.ac" target="_blank">configure.ac</a> | 1 +<br>
> 1 file changed, 1 insertion(+)<br>
><br>
> diff --git a/<a href="http://configure.ac" target="_blank">configure.ac</a> b/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
> index 97a29d6..e646db7 100644<br>
> --- a/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
> +++ b/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
> @@ -187,6 +187,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\<br>
> -Wno-unused-parameter \<br>
> -Wno-missing-field-initializers \<br>
> -Wno-unused-result \<br>
> + -Wno-logical-not-parentheses \<br>
> -Werror=overflow \<br>
> -Wdate-time \<br>
> -Wnested-externs \<br>
</div></div>This does not work, gcc does not allow testing for -Wno- options.<br></blockquote><br class=""><div><span style="font-size:12.8000001907349px">That is a good thing as otherwise it would break older compilers. This fixes the warnings for me.</span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Zbyszek<br>
_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Shawn Landden</div>
</div></div>