From: Art Werschulz <a...@comcast.net>
Date: Sat, 10 Nov 2012 18:43:37 -0500
Local: Sat, Nov 10 2012 6:43 pm
Subject: Re: warning: comparison of unsigned expression < 0 is always false
Hi.
On Nov 9, 2012, at 5:09 PM, Alec Clews <aleccl...@gmail.com> wrote:
> I'm getting the following warnings
You can remove the test.
> ../std_lib_facilities.h:112:8: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
> Which if you look at the code make perfect sense as i is declared unsigned. Is there some reason it's written that way or can I remove the offending test?
Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||