summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
{