Hi, Starting version 8, mingw has started automatically setting __USE_MINGW_ANSI_STDIO = 1 under some feature-set conditions: for example, when _GNU_SOURCE is defined or -std=C99, both of which are true in our case.
See: release notes at http://mingw-w64.org/doku.php This causes several stdio functions to use internal ISO-C compliant implementations (instead of those in msvcrt), and to break some of our s wprintf family calls. I see two options: (i) force __USE_MINGW_ANSI_STDIO = 0 in configure. (ii) Change all stdio function calls to be compatible building with and without this macro defined. AFICT, the only change required would be to replace %s and %S by %ls and %hs in some places -- mostly in interactive service, one instance in tun.c Any thoughts? I'm leaning towards option (ii). Selva
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel