Changeset c27951f2 in rtems


Ignore:
Timestamp:
May 5, 2009, 2:29:55 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
3c4d2451
Parents:
b513fa6
Message:

2009-05-05 Sebastian Huber <sebastian.huber@…>

  • score/include/rtems/system.h: Added RTEMS_COMPILER_DEPRECATED_ATTRIBUTE define.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rb513fa6 rc27951f2  
     12009-05-05      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * score/include/rtems/system.h: Added
     4        RTEMS_COMPILER_DEPRECATED_ATTRIBUTE define.
     5
    162009-05-05      Sebastian Huber <sebastian.huber@embedded-brains.de>
    27
  • cpukit/score/include/rtems/system.h

    rb513fa6 rc27951f2  
    139139#endif
    140140
     141/**
     142 *  Instructs the compiler to issue a warning whenever a variable or function
     143 *  with this attribute will be used.
     144 */
     145#ifdef __GNUC__
     146  #define RTEMS_COMPILER_DEPRECATED_ATTRIBUTE \
     147     __attribute__ ((deprecated))
     148#else
     149  #define RTEMS_COMPILER_DEPRECATED_ATTRIBUTE
     150#endif
     151
    141152#ifdef RTEMS_POSIX_API
    142153/** The following is used by the POSIX implementation to catch bad paths.  */
Note: See TracChangeset for help on using the changeset viewer.