On 08/03/2011 03:46 PM, Rainer Orth wrote:

Ok for mainline if they pass?

I think the avr-lib.h and h8300-lib.h files should be modified to only define the constants when compiling fp-bit, because they pollute the namespace.

Both avr and h8300 only use floats, so you can wrap them in #ifdef FLOAT. Another possibility is to add another -D option, like IN_FPBIT, to the Makefile and wrap the headers with that one.

Otherwise ok.

Paolo

Reply via email to