CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

structure BUG ??

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
micman2



Joined: 12 Mar 2007
Posts: 5

View user's profile Send private message

structure BUG ??
PostPosted: Mon Mar 12, 2007 10:05 am     Reply with quote

Hi,
I have created a structure, I have defined in the header file but when I make the debug, the structure is incomplete??
Why?

kevcon



Joined: 21 Feb 2007
Posts: 142
Location: Michigan, USA

View user's profile Send private message

PostPosted: Mon Mar 12, 2007 11:20 am     Reply with quote

What version CCS are you using?
Guest








PostPosted: Mon Mar 12, 2007 11:35 am     Reply with quote

kevcon wrote:
What version CCS are you using?


4.012
kevcon



Joined: 21 Feb 2007
Posts: 142
Location: Michigan, USA

View user's profile Send private message

PostPosted: Mon Mar 12, 2007 11:47 am     Reply with quote

I’m using 4.027 and get the same results.

I did some experimenting and CCS seems to have a problem with multidimensional arrays in structures.

It looks like it ignores anything that comes after one.
karth



Joined: 10 Sep 2003
Posts: 29

View user's profile Send private message

PostPosted: Mon Mar 12, 2007 11:56 am     Reply with quote

here is sample of the code i am using take a look at it ...
static struct DATAREC // periodic data record definition
{
int8 rec_epl;
int8 rec_stat;
int8 rec_battinput[2];
int8 rec_speed[2];
int8 rec_course[2];
int8 rec_lat[4];
int8 rec_lon[5];
int8 rec_utc[3];
int8 rec_date[3];
};
static struct DATAREC pdr;
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group