0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-19 19:42:30 +02:00
openvpn/m4
Steffan Karger adbf68c00b Enable stricter compiler warnings by default
This by default enables the compiler warnings one could previously
enable using the --enable-strict configure option.  I think it is
okay to do so now, because we've taken care of many warnings in the
more standard builds.  (Most of those were totally harmless, but they
prevented us from spotting new more serious mistakes.)

The --enable-strict flag now enables two extra warning flags that I
think can be useful:

-Wsign-compare warns when the compiler promotes a signed type to
unsigned before comparing, which can lead to unexpected behaviour.

-Wuninitialized adds extra warnings about usage of uninitialized variables
or struct elements.

Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Selva Nair <selva.nair@gmail.com>
Message-Id: <20180201154521.7642-1-steffan@karger.me>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg16426.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
2018-02-20 10:22:41 +01:00
..
.keep build: split acinclude.m4 into m4/* 2012-03-22 22:07:07 +01:00
ax_check_compile_flag.m4 Enable stricter compiler warnings by default 2018-02-20 10:22:41 +01:00
ax_emptyarray.m4 build: m4/ax_emptyarray.m4: cleanup 2012-03-22 22:07:07 +01:00
ax_socklen_t.m4 Fix compilation on MinGW with -std=c99 2016-11-13 20:42:34 +01:00
ax_varargs.m4 build: ax_varargs.m4: fixups 2012-03-26 14:33:15 +02:00
pkg.m4 copyright: Update GPLv2 license texts 2017-06-16 10:38:03 +02:00