| | More problems with floats
|
|
When I try to compile a program containing the following function: bool tr_guard_foo_loc2_t0() { return getVarVal(&var_foo_cl) >= 0.1; } I get this error: /tmp/ccyEbqnS.s: Assembler messages: /tmp/ccyEbqnS.s:237: Error: cannot create floating-point (...) (23 years ago, 10-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: More problems with floats
|
|
(...) Eric, did you ever resolve this? If not, I could try to reproduce this... but I'd need two things: 1) the type of the return value of getVarVal 2) the type of the bool typedef Also, if you could run your cross compiler with the -v flag, that (...) (23 years ago, 13-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: More problems with floats
|
|
(...) It turns out to be the egcs 1.1.2 I compiled; the RPMs from sourceforge work fine. I'll try to find why my compiler was buggy... Thanks for your reply. Eric (23 years ago, 13-May-02, to lugnet.robotics.rcx.legos)
|