View unanswered posts | View active topics It is currently Sat Oct 25, 2014 3:08 am






Reply to topic  [ 2 posts ] 
RobotC 3.51 Bug #3 - Pointers issues? 
Author Message
Rookie

Joined: Fri Apr 15, 2011 10:29 am
Posts: 37
Post RobotC 3.51 Bug #3 - Pointers issues?
Pointers are not quite right. Running a similar program in a standard C compiler works fine.

Code:
char buffer[] = { 'a', 'b', 'c' };

task main()
{
    char *ptr1 = &buffer[0];
    char *ptr2 = buffer;

    if (ptr1 != ptr2)
        nxtDisplayString(1, "ERROR");
    wait10Msec(500);
}


Sat Sep 29, 2012 1:29 pm
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 613
Post Re: RobotC 3.51 Bug #3 - Pointers issues?
This issue is now resolved in 3.52. Thanks for the feedback!

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Wed Oct 10, 2012 12:33 pm
Profile
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.