FreeBSD 5.1, gcc 3.3.3 and va_list
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...
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.
char *p1, *p2, *p3, *p4... *p11;
Any help would be extremely appreciated.