Re: ctype_members.cc Comparison Always True

2015-08-19 Thread Jonathan Wakely
On 19 August 2015 at 03:16, Martin Sebor wrote: On 08/03/2015 12:35 PM, Joel Sherrill wrote: Hi Just noticed this building the head for arm-rtems4.11. Should the first comparison be eliminated and, maybe, a comment added? ctype_members.cc:216:14: warning: comparison of unsigned expression

Re: ctype_members.cc Comparison Always True

2015-08-18 Thread Martin Sebor
On 08/03/2015 12:35 PM, Joel Sherrill wrote: Hi Just noticed this building the head for arm-rtems4.11. Should the first comparison be eliminated and, maybe, a comment added? ctype_members.cc:216:14: warning: comparison of unsigned expression = 0 is always true [-Wtype-limits] if (__wc =

ctype_members.cc Comparison Always True

2015-08-03 Thread Joel Sherrill
Hi Just noticed this building the head for arm-rtems4.11. Should the first comparison be eliminated and, maybe, a comment added? ctype_members.cc:216:14: warning: comparison of unsigned expression = 0 is always true [-Wtype-limits] if (__wc = 0 __wc 128 _M_narrow_ok) ^