diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-14 10:52:24 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-17 10:05:07 -0500 |
commit | e334edd1715abe7a82fea118ef1efc57806e1fe9 (patch) | |
tree | c2eb3ccd14d8dd88d16576ab46a57c7b38d45feb /testsuites/sptests/spnotepad01 | |
parent | Disable deprecated warning on implementation of deprecated methods (diff) | |
download | rtems-e334edd1715abe7a82fea118ef1efc57806e1fe9.tar.bz2 |
tests misc: Disable deprecated method usage warning when intentional
These tests intentionally use the deprecated method. Eventually
this code in the sections can be deleted.
Diffstat (limited to 'testsuites/sptests/spnotepad01')
-rw-r--r-- | testsuites/sptests/spnotepad01/init.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/sptests/spnotepad01/init.c b/testsuites/sptests/spnotepad01/init.c index 9604c32535..965d69dd2c 100644 --- a/testsuites/sptests/spnotepad01/init.c +++ b/testsuites/sptests/spnotepad01/init.c @@ -15,6 +15,11 @@ const char rtems_test_name[] = "SPNOTEPAD 1"; +/* + * We know this is deprecated and don't want a warning on every BSP built. + */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); |