ROBOTC.net forums
http://www.robotc.net/forums/

#include "stdarg.h"
http://www.robotc.net/forums/viewtopic.php?f=11&t=13290
Page 1 of 1

Author:  Jacob_Ernst98 [ Sat Jan 30, 2016 7:33 pm ]
Post subject:  #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

Author:  mightor [ Sun Jan 31, 2016 2:34 am ]
Post subject:  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

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/