From 217b3f53f635350f6595e97cd2a12d0d4ec6a9a4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 14 Mar 2015 11:04:25 -0500 Subject: Disable deprecated warning on implementation of deprecated methods --- cpukit/rtems/src/taskvariable_invoke_dtor.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpukit/rtems/src/taskvariable_invoke_dtor.c') diff --git a/cpukit/rtems/src/taskvariable_invoke_dtor.c b/cpukit/rtems/src/taskvariable_invoke_dtor.c index 062772369f..b9213f2bd6 100644 --- a/cpukit/rtems/src/taskvariable_invoke_dtor.c +++ b/cpukit/rtems/src/taskvariable_invoke_dtor.c @@ -23,6 +23,11 @@ #include #include +/* + * We know this is deprecated and don't want a warning on every BSP built. + */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + void _RTEMS_Tasks_Invoke_task_variable_dtor( Thread_Control *the_thread, rtems_task_variable_t *tvp -- cgit v1.2.3