diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-11 07:46:41 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-12 07:13:38 +0200 |
commit | 9c0cefbfa5eb426ff26954066b5d1f786754a538 (patch) | |
tree | cfc07f30052050caf6fbe870486f809b490ef5b9 /cpukit/sapi/include/confdefs.h | |
parent | timecounter: Update FreeBSD identifiers (diff) | |
download | rtems-9c0cefbfa5eb426ff26954066b5d1f786754a538.tar.bz2 |
confdefs: Add warnings for obsolete options
Update #2674.
Close #3112.
Close #3113.
Close #3114.
Close #3115.
Close #3116.
Diffstat (limited to 'cpukit/sapi/include/confdefs.h')
-rwxr-xr-x | cpukit/sapi/include/confdefs.h | 22 |
1 files changed, 21 insertions, 1 deletions
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 /* |