Posix Tests Compiler Warnings

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 21 13:05:47 UTC 2013


Hello,

before we start here we should first fix the <inttypes.h> provided by Newlib:

http://www.rtems.org/pipermail/rtems-devel/2013-August/004055.html

On 2013-08-21 06:33, Rempel, Cynthia wrote:
> Hi,
>
> Reducing the number of unnecessary compiler warnings makes it easier to find (and fix) real compiler warnings...
>
> The fix is in accordance with:
>
> https://www.kernel.org/doc/Documentation/printk-formats.txt
> If <type> is dependent on a config option for its size (e.g., sector_t,
> blkcnt_t) or is architecture-dependent for its size (e.g., tcflag_t), use a
> format specifier of its largest possible type and explicitly cast to it.
>
> This patch reduces the number of posix tests compiler warnings, by recasting arguments in printf statements...
>
> Thanks,
> Cynthia Rempel
>
>
>
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel
>


-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
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 mailing list