antmerlino opened a new issue #3456:
URL: https://github.com/apache/incubator-nuttx/issues/3456


   I had a very simple configuration for a board that worked at some point and 
I ran into build errors because it was looking for math.h and I didn't have 
CONFIG_LIBM on.
   
   Looks like the below change moved types and subsequent includes.
   
   
https://github.com/apache/incubator-nuttx/commit/d17b963bcab98e2d2f641623547837a8d3fe94cd
   
   Do we want to fix this, or do we want to require that users provide a 
math.h, either via CONFIG_LIBM, toolchain, or otherwise? 
   
   If we did want to fix, I think we need to:
   
   1. guard every place in libc that uses float/double with 
CONFIG_LIBC_FLOATINGPOINT
   2. guard the include with either CONFIG_LIBC_FLOATINGPOINT or CONFIG_LIBM
   
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to