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

   > Once we move CONFIG_HAVE_LONG_LONG to Kconfig, we can apply @acassis 's 
suggestion to simplify the default setting. Look like @ALTracer will provide a 
patch for this.
   
   In light of your recent refactoring of most toolchain flags in Kconfig tree 
and #6123 bringing LTO support, -- yes, I think I'd like to add Kconfig options 
for HAVE_LONG_LONG and friends (HAVE_FLOAT, HAVE_DOUBLE, HAVE_LONG_DOUBLE) 
somewhere under Optimizations (where FRAME_POINTERS are) or under System Type 
(where LTO is).
   Of course it's `default y` and depends on TOOLCHAIN_GCC/CLANG/BUILDROOT or 
whatever it is now (I'm still sitting on release/10.3 branch with my project). 
Maybe I'll even hide it with CONFIG_EXPERIMENTAL. 
   
   While it's silly to disable FLOAT, for example, I think it's for user to 
decide to drop DOUBLE. Like C++ has a principle "You only pay for what you use".


-- 
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