ggformat

A string formatting library for C++
Log | Files | Refs

commit 026224e6199cb38d37f8676e4ed077333c89c65a
parent 4c99c0d9c83c670856bbac979d8cbe91576be040
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu, 24 Aug 2017 18:42:53 +0100

MSVC fix

Diffstat:
ggformat.cc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/ggformat.cc b/ggformat.cc @@ -62,6 +62,7 @@ static void format_helper( FormatBuffer * fb, const ShortString & fmt, const T & } #if COMPILER_MSVC +#pragma warning( disable : 4996 ) // '_snprintf': This function or variable may be unsafe. int printed = _snprintf( NULL, 0, fmt.buf, x ); _snprintf( dst, len, fmt.buf, x ); #else