Loading...
 
Skip to main content

System Workbench for STM32


Enabling Strict ANSI compile?

Thank you for answering, Bernard.

adding -std=gnu90 in the "Other dialect flags" box compiled fine. But it did not seem to trigger the #ifndef STRICT_ANSI.

By the way, for some reason, when I try to use dtoa I get the "undefined reference to ´dtoa' " error. But if I try to use gcvtf which is defined right next to dtoa in stdlib.h I only get the warning "implicit declaration of function ´gcvtf' ".

I'm looking through GCC 5.3.0 manual but I can't figure out where to find help with usage of the functions, or their implementations? It's not like Cube HAL where you would just open stdlib.c and read the comments above the gcvtf implementation, for instance 😊

 
Collapse/expand modules below