summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-14 21:17:20 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-17 10:05:07 -0500
commit38d91667516047c83bc79b833411740914d27d3b (patch)
treeca3a2c17b8ccbc2e13c7e21b517d25ff33aac90c
parentsptests misc: Update to not use deprecated methods (diff)
downloadrtems-38d91667516047c83bc79b833411740914d27d3b.tar.bz2
powerpc/mvme5500/vectors/exceptionhandler.c: Turn off deprecated warning
updated #2306.
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c b/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c
index 216b4a9055..4bd5a8a299 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c
+++ b/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c
@@ -60,6 +60,12 @@
static volatile BSP_ExceptionExtension BSP_exceptionExtension = 0;
+/*
+ * We know task variables are deprecated and don't want a warning. The
+ * use of task variables needs to be fixed in this file.
+ */
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
BSP_ExceptionExtension
BSP_exceptionHandlerInstall(BSP_ExceptionExtension e)
{