Severe/Fatal Compiler Error?
Page 1 of 1

Author:  crablab [ Mon Oct 25, 2010 4:09 pm ]
Post subject:  Severe/Fatal Compiler Error?

So I have two pieces of code that I'm trying to fuse together into one code. The first part calibrates the speed of my wheels, and the second actually makes my vexbot move.
When I run each code separately they work fine. But when I put them together (by just copying/pasting part B after part A) and compiled I got the following errors:

**Severe*:Out of memory space for nested { .. } blocks or procedures (270/256):Nested:116/116Pad:0Var/Temp:154/0


**FATAL**:Compiler error allocating new temporary (HWM mismatch 16 (temp) vs 14 (pass 1 max)). Pass/Seq: 'Emit Code:85.

I've googled both to no avail. I actually went through and counted my braces ({) and I only have about 90 of them.

Any ideas?


Author:  jbflot [ Mon Oct 25, 2010 4:56 pm ]
Post subject:  Re: Severe/Fatal Compiler Error?

What version of ROBOTC are you using?

Can you post your code, preferably in two phases?
Phase 1: The two pieces separated
Phase 2: The two pieces combined

Without looking at your code, one thing you could try is changing your compiler settings from Debug to Release. Go to View > Preferences > Compiler Code Generation and select Release.

Author:  crablab [ Tue Oct 26, 2010 3:09 pm ]
Post subject:  Re: Severe/Fatal Compiler Error?

I'm using ROBOTC v. 2.26 (8.19)

I've attached the codes.
Part A is "4wheels"
Part B is "VexbotcodepartB"
and Part A+partB is "thecode"
Thanks again!

thecode.c [14.39 KiB]
Downloaded 533 times
VexbotCode PARTB.c [9.27 KiB]
Downloaded 553 times
4wheels.c [7.02 KiB]
Downloaded 542 times

Author:  jbflot [ Thu Oct 28, 2010 9:29 am ]
Post subject:  Re: Severe/Fatal Compiler Error?

Your code compiled fine for me in version 2.30

Try updating ROBOTC.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group