From 05a68d175b03b4d4d52e015673a90667d4dbd334 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 20 Feb 2019 08:00:35 -0600 Subject: [PATCH] libs/libc/stdio/Kconfig: CONFIG_LIBC_NUMBERED_ARGS now depends on EXPERIMENTAL. Per Johannes: I tested numbered arguments on i.mx rt 1050, and it isn't working. Only on Linux/MSYS 64bit all relevant data types are size 8 bytes, and therefore my loop through the arg list is working. On 32bit systems, all is 4 bytes except floating point variables which is implicit 8 byte double. --- libs/libc/stdio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libc/stdio/Kconfig b/libs/libc/stdio/Kconfig index eb63f3d3fd..df3f252644 100644 --- a/libs/libc/stdio/Kconfig +++ b/libs/libc/stdio/Kconfig @@ -97,7 +97,7 @@ config LIBC_PRINT_MINIMAL config LIBC_NUMBERED_ARGS bool "Enable numbered arguments in printf" default n - depends on (LIBC_FLOATINGPOINT || LIBC_LONG_LONG || !LIBC_PRINT_MINIMAL) && !LIBC_PRINT_LEGACY + depends on (LIBC_FLOATINGPOINT || LIBC_LONG_LONG || !LIBC_PRINT_MINIMAL) && !LIBC_PRINT_LEGACY && EXPERIMENTAL ---help--- Enables support for numbered arguments in printf.