Michael
Michael

Reputation: 168

Gearman on Cygwin: 'va_list' has not been declared

I'm installing Gearman 1.1.12 on Windows 8.1 through Cygwin and getting the following error:

  CXX      libtest/libtest_libtest_la-formatter.lo
In file included from ./libtest/test.hpp:69:0,
                 from ./libtest/common.h:85,
                 from libtest/formatter.cc:39:
./libtest/exception.hpp:83:13: error: 'va_list' has not been declared
    void init(va_list);
              ^

I've verified that the source code has the necessary includes and that the GCC/G++ compilers are the latest version, 4.8.2

Any ideas on how to fix this?

Upvotes: 0

Views: 533

Answers (1)

orestes
orestes

Reputation: 23

I had this problem today and it was "fixed" by including <cstdarg> on libtest/test.hpp.

Did you check that?

(Wanted to reply as a comment, but I don't have enough rep yet)

Upvotes: 1

Related Questions