ROBOTC.net forums
http://www.robotc.net/forums/

ROBOTC for Mindstorms 1.91 BETA 2 Released
http://www.robotc.net/forums/viewtopic.php?f=52&t=1838
Page 1 of 1

Author:  tfriez [ Wed Sep 09, 2009 5:59 pm ]
Post subject:  ROBOTC for Mindstorms 1.91 BETA 2 Released

http://www.robotc.net/downloads/ROBOTCf ... _BETA2.exe

Major Updates:
* Multiple Document Interface - Multiple programs open at one time with tabs!
* More Sample Programs - Over 150 sample programs included.
* Updated Help Documentation - Improved help documentation with more samples and explanations.
* Improved 3rd party support - External drivers and built-in functionality for 3rd party sensors.
* Improved Interface - Debugger windows can now dock, float, and hide.
* TETRIX Support - Now supports any configuration of devices on any sensor port.
* Improved Debugger Windows - Added windows for Servos, TETRIX Controllers, Tasks and others!
* Bug fixes and Compiler Improvements

We're still working on some of the interface issues, but compiler/firmware wise it should be stable.

Thanks!

- Tim

Author:  l0jec [ Fri Sep 11, 2009 9:57 pm ]
Post subject:  Re: ROBOTC for Mindstorms 1.91 BETA 2 Released

I downloaded the new beta and ran into the following issue when attempting to recompile a FTC program which worked with the previous release.

I get a "**Error**:Empty 'non-void' function not allowed. 'return' statement is required" compile error on any inline function which returns a value.
For example, the function below can no longer be compiled:

Code:
int inline testFunction() {
  return 0;
}


Thanks,
l0jec

Author:  Ford Prefect [ Sat Sep 12, 2009 1:30 am ]
Post subject:  Re: ROBOTC for Mindstorms 1.91 BETA 2 Released

I'm not quite sure, but what happens if you write


inline int testFunction() //...

Author:  l0jec [ Sat Sep 12, 2009 9:45 am ]
Post subject:  Re: ROBOTC for Mindstorms 1.91 BETA 2 Released

Same error; order of the inline and return type does not appear to make a difference.

This works fine:
Code:
int testFunction() {
  return 0;
}

As does this:
Code:
void inline testFunction() {
  //do something
}

Only seems to be an issue with inline functions which return a value.

Author:  Ford Prefect [ Sat Sep 12, 2009 10:25 am ]
Post subject:  Re: ROBOTC for Mindstorms 1.91 BETA 2 Released

did you try my code using "inline " at the first place?

Author:  mightor [ Sat Sep 12, 2009 11:05 am ]
Post subject:  Re: ROBOTC for Mindstorms 1.91 BETA 2 Released

Ford,

I just tested that with a later build (1.93) and it's doesn't make a difference. It's been reported.

Regards,
Xander

Author:  Ford Prefect [ Sat Sep 12, 2009 11:41 am ]
Post subject:  Re: ROBOTC for Mindstorms 1.91 BETA 2 Released

Xander,
then this is supposed to be 1 of the other 38 new bugs.

with my 1.45 (just 45 bugs) this always was working fine:

Code:
inline float max(float a, float b)
{
  return (a>b ? a : b);
}

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/