From 892e5de27d2f275e2d7c2160d81fe9e0c87b1ee1 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Mon, 19 Oct 2009 13:53:33 -0400 Subject: [PATCH] bemoan that _stp_*printf can't be protected with gcc attribute printf --- runtime/string.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/runtime/string.c b/runtime/string.c index cdafbf64f..b3f81f0e5 100644 --- a/runtime/string.c +++ b/runtime/string.c @@ -21,7 +21,11 @@ */ /** Sprintf into a string. - * Like printf, except output goes into a string. + * Like printf, except output goes into a string. + * + * NB: these are script language printf formatting directives, where + * %d ints are 64-bits etc, so we can't use gcc level attribute printf + * to type-check the arguments. * * @param str string * @param fmt A printf-style format string followed by a -- 2.43.5