acassis commented on PR #6613:
URL: https://github.com/apache/incubator-nuttx/pull/6613#issuecomment-1184856065

   @xiaoxiang781216 @pkarashchenko @ALTracer I thing the code should use 
CONFIG_LIBC_LONG_LONG instead of CONFIG_HAVE_LONG_LONG and we need to fix 
CONFIG_LIBC_LONG_LONG definition on Kconfig to be enabled by default if 
compiler has support to long long (CONFIG_HAVE_LONG_LONG). So 
CONFIG_HAVE_LONG_LONG shouldn't be an entry on Kconfig, but only defined at 
include/nuttx/compiler.h
   
   We need to fix the Kconfig to:
   
   ```
   config LIBC_LONG_LONG
           bool "Enable long long support in printf"
           default y if HAVE_LONG_LONG && !DEFAULT_SMALL
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to