NOTE on rtems-4.7

Ralf Corsepius ralf.corsepius at rtems.org
Thu Nov 10 05:46:20 UTC 2005


On Wed, 2005-11-09 at 18:10 +0100, Ralf Corsepius wrote:
> Hi,
> 
> A note to those working on rtems-4.7 and rtems-4.7 contributions:
> 
> The RTEMS types 
> rtems_unsigned8 rtems_unsigned16 rtems_unsigned32
> rtems_signed8 rtems_signed16 rtems_signed32
> 
> and their non RTEMS prefixed counterparts
> unsigned8 unsigned16 unsigned32
> signed8 signed16 signed32
> 
> will be soon be deprecated in RTEMS-4.7 in favor of the POSIX types from
> stdint.h:
> uint8_t uint16_t uint32_t
> int8_t int16_t int32_t
> 
> There will be backward compatibility convenience hacks, but RTEMS having
> been configured with standard configuration flags will not support the
> (then obsolete) types listed above.

I've activated this in CVS-HEAD, a couple of minutes ago.

Should you experience weird compiler errors complaining about undefined
types, on code that has been compilable so far, you probably are still
using one or more of the deprecated types.

As a short/mid term band-aid, in such cases, you can try to configure
RTEMS with 
--enable-deprecated

The long term solution however is to modify your code to using the POSIX
types. Thus changes however might not be functional with former versions
of RTEMS and with older GCCs/newlib's. 

Ralf





More information about the users mailing list