[Openvpn-devel,0/5] Allow mingw builds with -Werror

Message ID 20230203191440.136050-1-frank@lichtenheld.com
Headers show
Series Allow mingw builds with -Werror | expand

Message

Frank Lichtenheld Feb. 3, 2023, 7:14 p.m. UTC
Since I needed to test mingw builds today, I took a
look into the warnings reported.

Most of those patches are trivial and
straightforward. Not 100% sure whether the recv/send
one is a good idea.

Frank Lichtenheld (5):
  Windows: fix unused function setenv_foreign_option
  Windows: fix unused variables in delete_route_ipv6
  Windows: fix wrong printf format in x_check_status
  Windows: fix unused variable in win32_get_arch
  Windows: fix signedness errors with recv/send

 src/openvpn/error.c   |  4 ++--
 src/openvpn/manage.c  |  4 ++--
 src/openvpn/options.c |  2 ++
 src/openvpn/proxy.c   |  2 +-
 src/openvpn/route.c   | 32 ++++++++++++++++----------------
 src/openvpn/syshead.h |  2 ++
 src/openvpn/win32.c   |  7 +++----
 7 files changed, 28 insertions(+), 25 deletions(-)