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 support@ccsinfo.com

why not possible? int8 print_vlcd (int8 dat, ...);

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







why not possible? int8 print_vlcd (int8 dat, ...);
PostPosted: Tue Mar 23, 2004 4:20 am     Reply with quote

why not possible?

int8 print_vlcd (int8 dat, ...);

int8 print_vlcd (int8 dat, ...){
...
...
...
}

HI-TECH is support ANSI-C, but CCS not support?? Why?

Thanks!
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Mar 23, 2004 6:35 am     Reply with quote

CCS doesn't support variable length argument lists. This is an ommission, but CCS never claimed to be ANSI compliant. High Tech C claims to be ANSI compliant and does support variable length argument lists.

Both compilers do have their strong and weak points. A nice post on the internals of the CCS compiler is:
http://www.ccsinfo.com/forum/viewtopic.php?t=16849&highlight=parameter+list

I never liked the variable length argument lists anyway.
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Tue Mar 23, 2004 7:02 am     Reply with quote

This one is a good reading too:
http://www.ccsinfo.com/compare.shtml
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