Hi,

On Wed, Jan 27, 2021 at 10:04:49PM -0500, Selva Nair wrote:
> 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).

configure-fiddling-with-#define tends to be a never-ending story, so
I second going for (ii) - if that is compatible with MSVC.  Lev?

And maybe we should write this down somewhere - "which format specifiers
are used, and why?" - style guide page?  or something else?

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to