On Wed, 2008-03-26 at 14:53 -0700, Vadim Zaliva wrote:
The offending line is:
NORETURN(static void vir_error(virConnectPtr conn, const char *fn)) {
rb_raise(rb_eSystemCallError, "libvir call %s failed", fn);
}
This is very strange since the NORETURN macro is defined by ruby-devel
(for gcc it amounts to __attribute__((noreturn)) )
I just checked in my RHEL5 build root, and it's set to a noop in ruby.h
if it is not defined by config.h
This is with ruby-devel-1.8.5-5.el5 .. which version of ruby-devel are
you using ? Can you grep for NORETURN in ruby.h and config.h ? They are
in /usr/lib/ruby/1.8/i386-linux
David