[En-Nut-Discussion] Thread-safe version of asctime

Nathan Moore nategoose at gmail.com
Thu May 8 22:14:04 CEST 2014


Hey Ole,

> Im quite sure that modern compilers/linkers should sort out the not-used
> functions and also the static buffer, if it is not used by the
> application. Independend of the fact that it is written in the same or
> seperate files.
>
> At least on the cortex M3 I only find functions, that I use in my .map
> file, but I'm not sure about the AVR.

I would have only expected that with global optimization switched for both
compile and link time on with GCC.  I should not have assumed.

Thanks,
Nathan


More information about the En-Nut-Discussion mailing list