From 9c0cefbfa5eb426ff26954066b5d1f786754a538 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 11 Oct 2017 07:46:41 +0200 Subject: confdefs: Add warnings for obsolete options Update #2674. Close #3112. Close #3113. Close #3114. Close #3115. Close #3116. --- cpukit/sapi/include/confdefs.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'cpukit/sapi/include') diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 0abe450ec5..a64170bdff 100755 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -3522,8 +3522,28 @@ extern rtems_initialization_tasks_table Initialization_tasks[]; #error "Maximum priority configured higher than supported by target." #endif +#ifdef CONFIGURE_MAXIMUM_POSIX_BARRIERS + #warning "The CONFIGURE_MAXIMUM_POSIX_BARRIERS configuration option is obsolete since RTEMS 4.12" +#endif + +#ifdef CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES + #warning "The CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES configuration option is obsolete since RTEMS 4.12" +#endif + #ifdef CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS - #warning "The CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS configuration option is obsolete!" + #warning "The CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS configuration option is obsolete since RTEMS 4.12" +#endif + +#ifdef CONFIGURE_MAXIMUM_POSIX_MUTEXES + #warning "The CONFIGURE_MAXIMUM_POSIX_MUTEXES configuration option is obsolete since RTEMS 4.12" +#endif + +#ifdef CONFIGURE_MAXIMUM_POSIX_RWLOCKS + #warning "The CONFIGURE_MAXIMUM_POSIX_RWLOCKS configuration option is obsolete since RTEMS 4.12" +#endif + +#ifdef CONFIGURE_MAXIMUM_POSIX_SPINLOCKS + #warning "The CONFIGURE_MAXIMUM_POSIX_SPINLOCKS configuration option is obsolete since RTEMS 4.12" #endif /* -- cgit v1.2.3