×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

RTW compilation error: parser stack overflow; code too complex

RTW compilation error: parser stack overflow; code too complex

RTW compilation error: parser stack overflow; code too complex

(OP)
I'm running into an issue with RTW using the generic real-time target.  The problem is that the compilion step errors with a parser stack overflow; code is too complex error.  I haven't found any useful info on the Mathworks site or on Microsoft's site about resolving this error.  I'm using Visual Studio 6 as the compiler.  

The full error is as follows:

### Compiling test_model.c
cl -Ot   -DUSE_RTMODEL -DMODEL=test_model -DRT -DNUMST=2  -DTID01EQ=1 -DNCSTATES=27  -DMT=0 -DHAVESTDIO   -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_WINNT -D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x0300 -DWINVER=0x0400 -DWIN32  -D_WIN32 test_model.c
test_model.c
test_model.c(6925) : fatal error C1026: parser stack overflow, program too complex
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

Has anyone seen this error before and perhaps found a workaround?

Thanks,

M. Monroe

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close