I've tried looking around and I couldn't find it anywhere.
I have some programs I wrote that use va_list (va_start and va_end too obviously) but it says that it is incompatible with this version of gcc and I had to use stdarg.
I've basically got this...
Code:
#ifdef USE_VA_ARGS
va_list *var;
#else
char *p1, *p2, *p3, *p4... *p11;
#endif
then using va_start and va_end later or p1 = etc. But there seems to be somewhere where it is carrying over some values from an old pointer somewhere and I cannot for the life of me find out where. The code is way too long to paste and it's like looking for a needle in a haystack. Just wondering if someone could give me some advice, as I don't like using lots and lots of pointers in lots of functions. I don't want to downgrade gcc but it's looking like the only option.
Any help would be extremely appreciated.
Thanks