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: pcb compiler is treating some functions like macros
pgomolchuk

Replies: 9
Views: 7473

PostForum: General CCS C Discussion   Posted: Fri Feb 20, 2009 6:17 pm   Subject: pcb compiler is treating some functions like macros
For user functions, the compiler shouldn't do that unless you specify #inline before the respective function. Or there must be a particular condition, I'm not aware of.

Can you make a minimal exam ...
  Topic: pcb compiler is treating some functions like macros
pgomolchuk

Replies: 9
Views: 7473

PostForum: General CCS C Discussion   Posted: Fri Feb 20, 2009 6:15 pm   Subject: pcb compiler is treating some functions like macros
Thanks for the reply.
It will not work. My wrapper function now merely contains the same 4 instances.
This is all my own code, no library calls. I don't understand why placing the foo() call underne ...
  Topic: pcb compiler is treating some functions like macros
pgomolchuk

Replies: 9
Views: 7473

PostForum: General CCS C Discussion   Posted: Fri Feb 20, 2009 5:04 pm   Subject: pcb compiler is treating some functions like macros
Hi,

I am compiling for a pic10f202. I noticed that under certain circumstances, my function calls are being treated more like macros. For instance, in certain cases I have a function foo() which ta ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group