CYGWIN: ./libtest/exception.hpp:83:13: error: ‘va_list’ has not been declared

Bug #1306744 reported by Michael Hallett
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Gearman
Expired
Undecided
Unassigned

Bug Description

Getting an error when compiling in CYGWIN:

bin/.libs/lt-gearman.c: In function 'lt_fatal':
bin/.libs/lt-gearman.c:590:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
 lt_fatal (const char *file, int line, const char *message, ...)
 ^
  CXX bin/gearadmin.o
  CXX util/instance.o
  CXX util/operation.o
  CXXLD bin/gearadmin.exe
bin/.libs/lt-gearadmin.c: In function 'lt_fatal':
bin/.libs/lt-gearadmin.c:590:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
 lt_fatal (const char *file, int line, const char *message, ...)
 ^
  CXX libtest/t_unittest-unittest.o
In file included from ./libtest/test.hpp:69:0,
                 from ./libtest/yatl.h:43,
                 from libtest/unittest.cc:39:
./libtest/exception.hpp:83:13: error: ‘va_list’ has not been declared
   void init(va_list);
             ^
Makefile:8095: recipe for target 'libtest/t_unittest-unittest.o' failed
make[1]: *** [libtest/t_unittest-unittest.o] Error 1
make[1]: Leaving directory '/home/libraries/gearmand-1.1.12'
Makefile:3050: recipe for target 'all' failed
make: *** [all] Error 2

Revision history for this message
Brian Aker (brianaker) wrote :

What version is that? It looks old.

Changed in gearmand:
status: New → Incomplete
Revision history for this message
Michael Hallett (m-michael-l) wrote :

it's german 1.1.12 being compiled on GCC 4.8.2 in CYGWIN 1.7.29, so everything is the latest available.

Revision history for this message
Michael Hallett (m-michael-l) wrote :

@branaker is that what you needed or do you need other information?

Revision history for this message
Valentin Steiner (kziohjbjbugk) wrote :

I'm getting the same error as posted in the description.
I'm also using exactly the same versions as Michael (#2).

From the little I know I suspect it's not really a problem in the Gearman codebase..

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Gearman because there has been no activity for 60 days.]

Changed in gearmand:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.