anchao opened a new pull request, #7184:
URL: https://github.com/apache/incubator-nuttx/pull/7184

   
   ## Summary
   
   libs: fix visual studio Compiler Error C2124
   
   D:\code\incubator-nuttx\libs\libc\stdlib\lib_strtod.c: error C2124: divide 
or mod by zero
   
   Windows MSVC restrictions, MSVC doesn't allow division through a
   zero literal, but allows it through non-const variable set to zero
   
   Reference:
   
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2124?view=msvc-170
   
   Signed-off-by: chao an <anc...@xiaomi.com>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   cmake + sim/windows


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