[PATCH 16/19] powerpc/mvme5500/vectors/exceptionhandler.c: Turn off deprecated warning

Joel Sherrill joel.sherrill at oarcorp.com
Mon Mar 16 20:29:33 UTC 2015


updated #2306.
---
 c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c b/c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c
index 216b4a9..4bd5a8a 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)
 {
-- 
1.9.3




More information about the devel mailing list