I seem to remember we had that discussion in the context of openpvpn-gui already - Problems with the "POSIX compatible" function names, which end up acting on narrow or wide strings depending on compiler settings, compiler version, phase of the moon... can't find that commit, but if MS docs says "this is how windows code should look like", so be it...
I have test compiled stuff on Ubuntu 18 / MinGW, and it compiles. Not tested. Your patch has been applied to the master branch. commit 709c3810a1d67e2c4049e852529a0a0d1338c797 Author: Simon Rozman via Openvpn-devel Date: Sun Mar 21 15:46:25 2021 +0100 interactive.c: Resolve MSVC C4996 warning Signed-off-by: Simon Rozman <si...@rozman.si> Acked-by: Arne Schwabe <a...@rfc2549.org> Message-Id: <20210321144627.1621-3-si...@rozman.si> URL: https://www.mail-archive.com/search?l=mid&q=20210321144627.1621-3-si...@rozman.si Signed-off-by: Gert Doering <g...@greenie.muc.de> -- kind regards, Gert Doering _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel