I discussed the use of "%zu" and Windows/MinGW builds with Selva, who said this will work (it will create warnings, thus no -Werror builds, but since release builds are MSVC, this should be acceptable).
Uncrustify said I have to add a newline before one of the #endif lines, so I did. Generally speaking: we're adding #ifdef again - maybe we should see how much of a difference this creates if we *remove* "--disable-debug" and all the ENABLE_DEBUG conditionals. Resulting binary size, and runtime. Your patch has been applied to the master branch. commit 8c815699ba616151e6bc5074cd150f3ebf053d4a Author: Ilya Ponetayev Date: Fri Jun 17 07:13:26 2022 +0300 fix compilation issues with small and w/o debug Acked-by: Frank Lichtenheld <fr...@lichtenheld.com> Message-Id: <20220617041326.2744668-1-i.ponet...@ndmsystems.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24476.html 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