Posix Tests Compiler Warnings

Rempel, Cynthia cynt6007 at vandals.uidaho.edu
Wed Aug 21 04:33:37 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: psxtests_compiler_warnings.patch
Type: text/x-patch
Size: 17361 bytes
Desc: psxtests_compiler_warnings.patch
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130821/eb414418/attachment.bin>


More information about the devel mailing list