View unanswered posts | View active topics It is currently Thu Dec 13, 2018 1:31 pm






Reply to topic  [ 2 posts ] 
#include "stdarg.h" 
Author Message
Rookie

Joined: Sat Jan 30, 2016 7:29 pm
Posts: 1
Post #include "stdarg.h"
I would like to include the stdarg.h file to use variadic function but i get this error

"**Error**:Missing 'Identifier' before ')'
*Warning*:No body defined for unreferenced procedure prototype 'va_end'"

even after placing the stdarg.h file in the includes folder, it has no dependence on other .h files.

Here is the stdarg.h source
http://pastebin.com/a6f17ZUM

Thank you


Sat Jan 30, 2016 7:33 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: #include "stdarg.h"
stdarg.h is a libc header file. while ROBOTC implements quite a number of these standard libc functions, it does not support vararg. Including this file will not change that, unfortunately.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sun Jan 31, 2016 2:34 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.