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

Search found 3 matches
CCS Forum Index
Author Message
  Topic: Global variables with multiple compilation units
richard_m

Replies: 16
Views: 28129

PostForum: General CCS C Discussion   Posted: Thu Jun 04, 2009 2:11 am   Subject: Global variables with multiple compilation units
I'm using CCS PCWHD IDE version 4.069.

It's all very well sticking everything in the one file if you're dealing with a very simple, hobbyist type of project, but the code I'm working with is much m ...
  Topic: Global variables with multiple compilation units
richard_m

Replies: 16
Views: 28129

PostForum: General CCS C Discussion   Posted: Thu May 28, 2009 5:22 am   Subject: Global variables with multiple compilation units
Ok, fair enough (although I've seen it done that way with other compilers), now I've separated out the externs into a separate header file that's only included by sub.c. But still the same :(

heade ...
  Topic: Global variables with multiple compilation units
richard_m

Replies: 16
Views: 28129

PostForum: General CCS C Discussion   Posted: Thu May 28, 2009 4:14 am   Subject: Global variables with multiple compilation units
I'm not sure if I'm doing this wrong or it's a bug, but I can't get global variables to work. They seem to be addresses as if packed in the wrong order in the file where they aren't defined, even thou ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group