va_list has not been declared
compiler-errors, g++, gcc, variadic-functions
Solution
I had the same error message and I solved including one of the next files
#include <stdarg.h>
or
#include <cstdarg>
Problem
When compiling some working code on Fedora 11, I am getting this error: ``` /usr/include/c++/4.4.1/cstdarg:56: error: ‘::va_list’ has not been declared ``` I am using: ``` [doriad@davedesktop VTK]$ g++ --version g++ (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2) ``` Does anyone know what the problem could be?