mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
ruby: Disable -Wstrict-prototypes warning for Ruby headers.
This commit is contained in:
@@ -41,7 +41,10 @@ let rec generate_ruby_c () =
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
|
||||
#include <ruby.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#include \"guestfs.h\"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user