confdefs: Add warnings for obsolete options

Update #2674.
Close #3112.
Close #3113.
Close #3114.
Close #3115.
Close #3116.
This commit is contained in:
Sebastian Huber
2017-10-12 07:13:38 +02:00
parent d8b6f1c10f
commit 9c0cefbfa5
+21 -1
View File
@@ -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
/*