Skip to content

windows: kill a couple of warnings

Antonio Quartulli openvpn-devel 1 version In review

Get series with b4
b4 am [email protected]...

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3windows: use appropriate and portable format specifier for 64bit pointersrc/openvpn/common.h+1 -12 replies
2/3windows: define variable only where usedsrc/openvpn/run_command.c+1 -12 replies
3/3windows: list all enum values in switch blocksrc/openvpnserv/interactive.c+3 -02 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchArne Schwabe
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Openvpn-devel] [PATCH 0/3] windows: kill a couple of warnings

When compiling with mingw32-w64 we still get a bunch of warnings. Some are easily fixable and therefore I thought about providing small patches addressing those.

Remaining warnings are not "difficult" to fix, but rather not easy to be fixed cleanly while keeping the change compact.

Note: I haven't compiled this with MSVC.

Cheers,

Antonio Quartulli (3):
windows: use appropriate and portable format specifier for 64bit
pointer
windows: define variable only where used
windows: list all enum values in switch block

 src/openvpn/common.h          | 2 +-
 src/openvpn/run_command.c     | 2 +-
 src/openvpnserv/interactive.c | 3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
2.26.3