change log for rtems (2011-12-14)
sebastian.huber at embedded-brains.de
Wed Dec 14 09:36:58 UTC 2011
I use locally -Wconversion and these changes fix some of the implicit type
On 12/14/2011 10:28 AM, Ralf Corsepius wrote:
> On 12/14/2011 10:11 AM, rtems-vc at rtems.org wrote:
>> 2011-12-14 Sebastian Huber<sebastian.huber at embedded-brains.de>
> [termios type changes]
> ... just to have mentioned it ...
> Sebastian, I hope you are aware, you are about to open a can of worms?
> Of those 5000 warnings, I recently mentioned I am observing with agressive
> CFLAGS, ca. 2000 are related to RTEMS having issues with signed<->unsigned
> conversions and unsafe implicit signed/unsigned casts.
> ... ca. half of these have their origin in termios ...
Yes, the integer type usage in Termios is quite suboptimal, e.g. the major and
minor number are of type int.
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel