To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 2550
  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 (...) (22 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 (...) (22 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 (22 years ago, 13-May-02, to lugnet.robotics.rcx.legos)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR