On Saturday, 20 August 2016 at 17:23:38 UTC, Jeremy DeHaan wrote:
Hey All. I'm trying to track down an auto-tester failure on
FreeBSD, so I decided to run the same tests myself locally. I
encountered the following error:
runnable/extra-files/cppb.cpp:297:37: error: 'va_list' has not
been declared
void myvprintfx(const char* format, va_list);
I added #include <cstdarg> to the file, and then everything ran
fine. Should I have set up my system differently so that I
didn't need to edit anything or should this be added to the
file anyway?
Jeremy
The error occurs on my system, too, when I run gcc -c cppb.cpp by
hand.
IMHO the file needs to be updated.
Kai