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 6 matches
CCS Forum Index
Author Message
  Topic: _Return_ gives a compiler warning
heath.g

Replies: 3
Views: 5525

PostForum: General CCS C Discussion   Posted: Mon Aug 20, 2007 12:13 am   Subject: _Return_ gives a compiler warning
Add this line after your pre-processor statements.
#ignore_warnings 208

Thanks for that, I will use this.
  Topic: _Return_ gives a compiler warning
heath.g

Replies: 3
Views: 5525

PostForum: General CCS C Discussion   Posted: Sun Aug 12, 2007 6:26 pm   Subject: _Return_ gives a compiler warning
Under version 3 you could do this and it wouldnt return warning:


int8 ReturnTest(void)
{
#asm
movlw 0x01
movwf _RETURN_
#endasm


Does anyone know how to sto ...
  Topic: Need to switch from External Osc to Internal, problem
heath.g

Replies: 4
Views: 5909

PostForum: General CCS C Discussion   Posted: Thu Jun 22, 2006 9:34 pm   Subject: Need to switch from External Osc to Internal, problem
If you look at the constants in the header file you will notice that there is a line between the groups of parameters:

// The following may be OR'ed in with the above using |

They are all using ...
  Topic: How to write a LONG to EEPROM??
heath.g

Replies: 12
Views: 21769

PostForum: General CCS C Discussion   Posted: Wed Jun 21, 2006 5:28 pm   Subject: How to write a LONG to EEPROM??
Just going back to your original issue. I have had the same problems. When working with INT16 and INT32 variables and needing to send them to an external device either serial or otherwise on a 8 bit d ...
  Topic: Optimization of constant pointers
heath.g

Replies: 2
Views: 3928

PostForum: General CCS C Discussion   Posted: Wed Jun 21, 2006 12:52 am   Subject: Optimization of constant pointers
Thanks for the reply.

What you have written was what I was looking at doing which tells me I was going down the right path.

Its a pitty that CCS doesn't assume variables are static in which they ...
  Topic: Optimization of constant pointers
heath.g

Replies: 2
Views: 3928

PostForum: General CCS C Discussion   Posted: Tue Jun 20, 2006 1:15 am   Subject: Optimization of constant pointers
I just need some clarification on the following.

For the following code why does the compiler use the FSR to get access to the MP3A_StartAddress variable. Other compliers would evaluate this to one ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group