mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-07 16:13:07 +00:00
2009-05-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/system.h: Added RTEMS_COMPILER_DEPRECATED_ATTRIBUTE define.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-05-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
|
* score/include/rtems/system.h: Added
|
||||||
|
RTEMS_COMPILER_DEPRECATED_ATTRIBUTE define.
|
||||||
|
|
||||||
2009-05-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
2009-05-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
* include/rtems/endian.h:
|
* include/rtems/endian.h:
|
||||||
|
|||||||
@@ -138,6 +138,17 @@ extern "C" {
|
|||||||
#define RTEMS_COMPILER_NO_RETURN_ATTRIBUTE
|
#define RTEMS_COMPILER_NO_RETURN_ATTRIBUTE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Instructs the compiler to issue a warning whenever a variable or function
|
||||||
|
* with this attribute will be used.
|
||||||
|
*/
|
||||||
|
#ifdef __GNUC__
|
||||||
|
#define RTEMS_COMPILER_DEPRECATED_ATTRIBUTE \
|
||||||
|
__attribute__ ((deprecated))
|
||||||
|
#else
|
||||||
|
#define RTEMS_COMPILER_DEPRECATED_ATTRIBUTE
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef RTEMS_POSIX_API
|
#ifdef RTEMS_POSIX_API
|
||||||
/** The following is used by the POSIX implementation to catch bad paths. */
|
/** The following is used by the POSIX implementation to catch bad paths. */
|
||||||
int POSIX_NOT_IMPLEMENTED( void );
|
int POSIX_NOT_IMPLEMENTED( void );
|
||||||
|
|||||||
Reference in New Issue
Block a user