From 8be9743e742d60c279d80a1d098d17d8a87851bc Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 18 Dec 2012 08:43:06 +0000 Subject: [PATCH] ruby: Disable -Wstrict-prototypes warning for Ruby headers. --- generator/ruby.ml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/generator/ruby.ml b/generator/ruby.ml index 70337135d..06f7d58a4 100644 --- a/generator/ruby.ml +++ b/generator/ruby.ml @@ -41,7 +41,10 @@ let rec generate_ruby_c () = #include #include +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" #include +#pragma GCC diagnostic pop #include \"guestfs.h\"