Re: printf format strings to fix warnings

2013-10-08 Thread Ralf Corsepius
On 09/23/2013 11:57 PM, Joel Sherrill wrote: Hi There are only a handful of printf format warnings currently. 2 warning: format '%lc' expects argument of type 'wint_t', but argument 4 has type 'wchar_t' [-Wformat=] Can you provide a reproducer? Which targets? This kind of warnings

RE: printf format strings to fix warnings

2013-09-24 Thread Rempel, Cynthia
rcorp.com] Sent: Monday, September 23, 2013 2:57 PM To: rtems-devel@rtems.org Subject: printf format strings to fix warnings Hi There are only a handful of printf format warnings currently. 2 warning: format '%lc' expects argument of type 'wint_t', but argument 4 has

printf format strings to fix warnings

2013-09-23 Thread Joel Sherrill
Hi There are only a handful of printf format warnings currently. 2 warning: format '%lc' expects argument of type 'wint_t', but argument 4 has type 'wchar_t' [-Wformat=] 4 warning: format '%lo' expects argument of type 'long unsigned int', but argument 3 has type 'mode_t' [-Wformat=