Cynerd commented on issue #18351: URL: https://github.com/apache/nuttx/issues/18351#issuecomment-3847439426
I have created this issue to discuss an appropriate solution. The simplest one is to just undef `CONFIG_HAVE_LONG_DOUBLE` in `compiler.h,` but that disables these functions altogether, which might not be compatible. The second solution would be to replace the implementation with `trunc` on platforms where `sizeof(double) == sizeof(long double)`. But that gives an idea if other such functions, intended just for `long double`, should not get the same treatment even when they do not emit the warning. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
