Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/jay
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2010-04-06 00:53:35 +0400
committerZoltan Varga <vargaz@gmail.com>2010-04-06 00:53:35 +0400
commite9283f0f3441d82a463b44a1eeac4f912fc346db (patch)
treee97c499765a0b58b7f646dd1d4cad964dd3d4a9e /mcs/jay
parent3f8ea75a9c8d96c757e805c939e30e283091b003 (diff)
2010-04-05 Zoltan Varga <vargaz@gmail.com>
* defs.h: Quiet warnings which might bother rpm. svn path=/branches/mono-2-6/mcs/; revision=154806
Diffstat (limited to 'mcs/jay')
-rw-r--r--mcs/jay/ChangeLog4
-rw-r--r--mcs/jay/defs.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/mcs/jay/ChangeLog b/mcs/jay/ChangeLog
index 1e49ad3b614..17c5847e64b 100644
--- a/mcs/jay/ChangeLog
+++ b/mcs/jay/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-05 Zoltan Varga <vargaz@gmail.com>
+
+ * defs.h: Quiet warnings which might bother rpm.
+
2008-10-17 Jonathan Pryor <jpryor@novell.com>
* Makefile: Add doc-update target support.
diff --git a/mcs/jay/defs.h b/mcs/jay/defs.h
index f3679864735..9e50b38d869 100644
--- a/mcs/jay/defs.h
+++ b/mcs/jay/defs.h
@@ -43,6 +43,11 @@
#include <string.h>
#include <errno.h>
+/* Quiet warnings which might bother rpm */
+#ifdef __GNUC__
+#pragma GCC diagnostic ignored "-Wimplicit-function-declaration"
+#pragma GCC diagnostic ignored "-Wreturn-type"
+#endif
/* machine-dependent definitions */
/* the following definitions are for the Tahoe */