View unanswered posts | View active topics It is currently Sun Jul 12, 2020 4:41 pm

Reply to topic  [ 2 posts ] 
RobotC 3.51 bug 8 
Author Message
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1523
Post RobotC 3.51 bug 8
When compiling the following code, I got a compiler error:
**Severe*:Internal Debug: Bad 'parmSourceStackULongVar' result from 'Dereferencing' point
#define GetData(p)  (GetRawData( \
                     &((p)->n1), \

typedef struct
    int n1;
    int n2;
} OBJ;

OBJ g_obj;

void GetRawData(int *p1, int *p2)
    *p1 = 1;
    *p2 = 2;

task main()
    GetRawData(&g_obj.n1, &g_obj.n2);
    nxtDisplayTextLine(0, "n1=%d", g_obj.n1);
    nxtDisplayTextLine(1, "n2=%d", g_obj.n2);

Mon Sep 24, 2012 12:19 am
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 620
Post Re: RobotC 3.51 bug 8
This is now resolved in the latest internal build of ROBOTC and will be included in the next BETA.


Timothy Friez
ROBOTC Developer - SW Engineer

Wed Oct 10, 2012 1:20 pm
Display posts from previous:  Sort by  
Reply to topic   [ 2 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

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.