Re: [cc65] Re: floating point support redux

From: Markus Stehr <bastetfurry1ircnet.de>
Date: 2010-05-14 19:51:57
Am Freitag, den 14.05.2010, 05:18 +0200 schrieb Groepaz:
> if the float stuff would be a normal library, then i would agree... but float 
> support is a core functionality of the compiler, which is usually expected to 
> work under all circumstances (just like any other language feature). [...]

Not when going 8-bit. Look at gcc-avr, fp is only compiled in when used.
And then you can make a compiler switch/directive to select what you
need, for example #pragma systemfloat vs #pragma libfloat, where
libfloat would be the failsafe default.
And if -wall is used the compiler should emmit a warning when float is
used but the pragma is missing.

readya,
Markus :)


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri May 14 19:52:08 2010

This archive was generated by hypermail 2.1.8 : 2010-05-14 19:52:10 CEST