help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

always true warning


From: address@hidden
Subject: always true warning
Date: 22 Dec 2006 01:17:59 -0800
User-agent: G2/1.0

Hi,
is it possible to turn off -Walways-true warning for certain
comparison?
I have a template with parameter of integral type, which can be both
signed and unsigned and I'm testing the value for <0.. With -Wall
(which I'm using by default) I always get a warning this comparison is
always true when I use unsigned type as a parameter..
Are there any workarounds?
Thanks
m



reply via email to

[Prev in Thread] Current Thread [Next in Thread]