AW: [En-Nut-Discussion] printf floats

Joachim Skale joachim.skale at tele2.at
Mon Nov 21 08:27:22 CET 2005


hi,
did you have compiled the Ethernut Source with Float Support ?
may be this is the problem.

Joachim

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de]Im Auftrag von Victor Behar
Gesendet: Freitag, 18. November 2005 18:05
An: Ethernut User Chat (English)
Betreff: [En-Nut-Discussion] printf floats


possibly, has been asked before

i have problems printing floats or doubles like ...

printf("\na=%f\n",a);

i get

c:145: warning: double format, float arg (arg 2)

any ideas?

[ ethernut 2.1 - winavr - gcc ]

Thank You.

Regards,

Victor Behar

_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion




More information about the En-Nut-Discussion mailing list