|
Page 1 of 1
|
[ 4 posts ] |
|
Severe/Fatal Compiler Error?
Author |
Message |
crablab
Rookie
Joined: Wed Oct 20, 2010 3:24 pm Posts: 3
|
 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
And,
**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?
Thanks.
|
Mon Oct 25, 2010 4:09 pm |
|
 |
jbflot
Site Admin
Joined: Tue May 15, 2007 9:02 am Posts: 409
|
 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.
|
Mon Oct 25, 2010 4:56 pm |
|
 |
crablab
Rookie
Joined: Wed Oct 20, 2010 3:24 pm Posts: 3
|
 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!
|
Tue Oct 26, 2010 3:09 pm |
|
 |
jbflot
Site Admin
Joined: Tue May 15, 2007 9:02 am Posts: 409
|
 Re: Severe/Fatal Compiler Error?
Your code compiled fine for me in version 2.30 http://i56.tinypic.com/2j2szy8.pngTry updating ROBOTC.
|
Thu Oct 28, 2010 9:29 am |
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|