changeset 17531:f9abc8e5fc2e

-Werror at JIT related files
author LYH <lyh.kernel@gmail.com>
date Fri, 27 Sep 2013 17:21:33 +0800
parents ef8315ecc0d0
children 721d6c3cd2e0
files libinterp/corefcn/jit-ir.cc libinterp/corefcn/jit-ir.h libinterp/corefcn/jit-typeinfo.h libinterp/corefcn/jit-util.cc libinterp/corefcn/jit-util.h libinterp/corefcn/pt-jit.cc libinterp/corefcn/pt-jit.h libinterp/template-inst/Array-jit.cc
diffstat 8 files changed, 32 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/jit-ir.cc
+++ b/libinterp/corefcn/jit-ir.cc
@@ -1,3 +1,5 @@
+#pragma GCC diagnostic push
+#pragma GCC diagnostic error "-Werror"
 /*
 
 Copyright (C) 2012 Max Brister
@@ -843,3 +845,5 @@
 }
 
 #endif
+
+#pragma GCC diagnostic pop
--- a/libinterp/corefcn/jit-ir.h
+++ b/libinterp/corefcn/jit-ir.h
@@ -1,3 +1,5 @@
+#pragma GCC diagnostic push
+#pragma GCC diagnostic error "-Werror"
 /*
 
 Copyright (C) 2012 Max Brister
@@ -1434,3 +1436,5 @@
 
 #endif
 #endif
+
+#pragma GCC diagnostic pop
--- a/libinterp/corefcn/jit-typeinfo.h
+++ b/libinterp/corefcn/jit-typeinfo.h
@@ -1,3 +1,5 @@
+#pragma GCC diagnostic push
+#pragma GCC diagnostic error "-Werror"
 /*
 
 Copyright (C) 2012 Max Brister
@@ -858,3 +860,5 @@
 
 #endif
 #endif
+
+#pragma GCC diagnostic pop
--- a/libinterp/corefcn/jit-util.cc
+++ b/libinterp/corefcn/jit-util.cc
@@ -1,3 +1,5 @@
+#pragma GCC diagnostic push
+#pragma GCC diagnostic error "-Werror"
 /*
 
 Copyright (C) 2012 Max Brister
@@ -49,3 +51,5 @@
 }
 
 #endif
+
+#pragma GCC diagnostic pop
--- a/libinterp/corefcn/jit-util.h
+++ b/libinterp/corefcn/jit-util.h
@@ -1,3 +1,5 @@
+#pragma GCC diagnostic push
+#pragma GCC diagnostic error "-Werror"
 /*
 
 Copyright (C) 2012 Max Brister
@@ -207,3 +209,5 @@
 
 #endif
 #endif
+
+#pragma GCC diagnostic pop
--- a/libinterp/corefcn/pt-jit.cc
+++ b/libinterp/corefcn/pt-jit.cc
@@ -1,3 +1,5 @@
+#pragma GCC diagnostic push
+#pragma GCC diagnostic error "-Werror"
 /*
 
 Copyright (C) 2012 Max Brister
@@ -2550,3 +2552,5 @@
   return octave_value ();
 #endif
 }
+
+#pragma GCC diagnostic pop
--- a/libinterp/corefcn/pt-jit.h
+++ b/libinterp/corefcn/pt-jit.h
@@ -1,3 +1,5 @@
+#pragma GCC diagnostic push
+#pragma GCC diagnostic error "-Werror"
 /*
 
 Copyright (C) 2012 Max Brister
@@ -442,3 +444,5 @@
 
 #endif
 #endif
+
+#pragma GCC diagnostic pop
--- a/libinterp/template-inst/Array-jit.cc
+++ b/libinterp/template-inst/Array-jit.cc
@@ -1,3 +1,5 @@
+#pragma GCC diagnostic push
+#pragma GCC diagnostic error "-Werror"
 /*
 
 Copyright (C) 2012 Max Brister
@@ -45,3 +47,5 @@
 #endif
 
 #endif
+
+#pragma GCC diagnostic pop