Re: building ruby bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]