Hi to all.

I am working with the mspgcc version based on GNU GCC v3.2.3.

I'd like to know if format strings for float and double variables (e.g.
"%f", "%lf", "%g") are supported for the stdio functions like printf(),
sprintf(), sscanf(), etc.

I have tried these formats, but it seems they don't work at all. The
compiler always outputs the following warning:

        "... double format, float arg ..."

Till now, it seems instead the formats for integer, long integer, string and
hex work all well.
Is there maybe a compiler option flag to set to have also float formats to
work?

Thanks to all.

Alessandro

 


Reply via email to