Hi Alan,

> I'm getting an error related to FPFLAGS. Searching at google I found
> this flag is exported by MPLAB, but SDCC.

You can probably remove all references to FPFLAGS in the project (3x in
PICos18iz.c) as it is not used anywhere else besides being initialized.
I assume that it has something to do with rounding modes of floating or
fixed point arithmetics, but as your project is free of FP-maths, there
is no need to keep it.
To me, FPFLAGS seems to be some kind of (a) errno global variable for
tracking floating point related exceptions (result is not a number,
etc.) and (b) global configuration for floating point arithmetics (as I
mentioned above, rounding mode, probably more). Both applications are
only useful in conjunction with Microchip's FP-library, which is not
used by SDCC.

Regards,
Raphael

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to