error in -stdio.h __VALIST
I just bought the book "Tricks of the Windows Game Programming Gurus" and I tried to test out the first code example, and unfortunately the author uses C...All of the headers are the .h ones and it seems to work fine except I'm getting errors from stdio.h:
And they point to function declarations like:
In file included from C:/DEV-CPP/include/c++/cstdio:52,
C:/DEV-CPP/include/stdio.h:216: type specifier omitted for parameter `
C:/DEV-CPP/include/stdio.h:217: type specifier omitted for parameter `
I've never had these errors before and can't seem to get rid of them...
int vfprintf (FILE*, const char*, __VALIST);
int vprintf (const char*, __VALIST);
int vsprintf (char*, const char*, __VALIST);
int _vsnprintf (char*, size_t, const char*, __VALIST);
Well I got it to compile, but only by eliminating all included headers that included stdio.h, which was about half...this is insane how many headers he included that he didn't need...the only thing I sacrificed by removing them was sprintf() lol...
I could still use an explanation on why I'm suddenly getting these errors...I really would like to use some other headers, but it wont let me :mad:
Oh I'm using Dev-C++ 22.214.171.124