* [gnu.org #244350] i am seeing a new warning with gcc 3.3.2
[not found] <rt-244350@gnu.org>
@ 2005-06-08 15:26 ` Tony Wieczorek via RT
2005-06-08 15:55 ` Rambabu Gajula via RT
` (3 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: Tony Wieczorek via RT @ 2005-06-08 15:26 UTC (permalink / raw)
To: rambabu.gajula; +Cc: gcc-help, gnu
I'm sorry, but as this is only a general contact address, I cannot
properly answer technical questions such as yours. The best I can do is
refer you to the GCC Manual (http://gcc.gnu.org/onlinedocs/) and
Frequently Asked Questions (http://gcc.gnu.org/faq.html). If neither of
those provide an answer to your question, please contact the GCC users'
help list; you can learn more about it at <http://gcc.gnu.org/lists.html>.
I am sorry that I couldn't be of more help.
> [rambabu.gajula@ccpu.com - Wed Jun 01 07:02:37 2005]:
>
> Hi,
>
>
>
> I have started using the gcc 3.3.2 on sun solaris (OS version : 5.10),
> I am facing new compilation warnings.
>
>
>
>
>
> Waring says about one logical comparision with macro.
>
>
>
> I have one macro( value is =255). I am trying to compare with unsigned
> integer .
>
>
>
> Warning: Comparison is always true due to limited range.
>
>
>
> How can I suppress this warning, I am not seeing the same with old gcc.
>
>
>
> Please help me out.
>
>
>
>
>
> Thanks,
>
> Rambabu
>
> .
>
>
>
--
Tony Wieczorek
Program Assistant
(617) 542-5942
Free Software Foundation
59 Temple Place, Suite 330
Boston, MA 02111-1307 USA
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gnu.org #244350] i am seeing a new warning with gcc 3.3.2
[not found] <rt-244350@gnu.org>
2005-06-08 15:26 ` [gnu.org #244350] i am seeing a new warning with gcc 3.3.2 Tony Wieczorek via RT
2005-06-08 15:55 ` Rambabu Gajula via RT
@ 2005-06-08 15:55 ` Tony Wieczorek via RT
2005-06-08 16:12 ` Vincent Torri via RT
2005-06-08 16:12 ` Vincent Torri via RT
4 siblings, 0 replies; 5+ messages in thread
From: Tony Wieczorek via RT @ 2005-06-08 15:55 UTC (permalink / raw)
To: rambabu.gajula; +Cc: gcc-help, gnu
I'm sorry, but as this is only a general contact address, I cannot
properly answer technical questions such as yours. The best I can do is
refer you to the GCC Manual (http://gcc.gnu.org/onlinedocs/) and
Frequently Asked Questions (http://gcc.gnu.org/faq.html). If neither of
those provide an answer to your question, please contact the GCC users'
help list; you can learn more about it at <http://gcc.gnu.org/lists.html>.
I am sorry that I couldn't be of more help.
> [rambabu.gajula@ccpu.com - Wed Jun 01 07:02:37 2005]:
>
> Hi,
>
>
>
> I have started using the gcc 3.3.2 on sun solaris (OS version : 5.10),
> I am facing new compilation warnings.
>
>
>
>
>
> Waring says about one logical comparision with macro.
>
>
>
> I have one macro( value is =255). I am trying to compare with unsigned
> integer .
>
>
>
> Warning: Comparison is always true due to limited range.
>
>
>
> How can I suppress this warning, I am not seeing the same with old gcc.
>
>
>
> Please help me out.
>
>
>
>
>
> Thanks,
>
> Rambabu
>
> .
>
>
>
--
Tony Wieczorek
Program Assistant
(617) 542-5942
Free Software Foundation
59 Temple Place, Suite 330
Boston, MA 02111-1307 USA
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [gnu.org #244350] i am seeing a new warning with gcc 3.3.2
[not found] <rt-244350@gnu.org>
2005-06-08 15:26 ` [gnu.org #244350] i am seeing a new warning with gcc 3.3.2 Tony Wieczorek via RT
@ 2005-06-08 15:55 ` Rambabu Gajula via RT
2005-06-08 15:55 ` Tony Wieczorek via RT
` (2 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: Rambabu Gajula via RT @ 2005-06-08 15:55 UTC (permalink / raw)
Cc: gcc-help, gnu
Your right.
How to suppress this warning.
Regards,
Rambabu
-----Original Message-----
From: Vincent Torri [mailto:Vincent.Torri@iecn.u-nancy.fr]
Sent: Wednesday, June 08, 2005 9:04 PM
To: Tony Wieczorek via RT
Cc: Rambabu Gajula
Subject: Re: [gnu.org #244350] i am seeing a new warning with gcc 3.3.2
you are doing something like :
if (l >= 0 )
{
**
}
with for example
unsigned int l;
As l is always greater or equal to 0, the test is always true.
regards
Vincent Torri
On Wed, 8 Jun 2005, Tony Wieczorek via RT wrote:
> I'm sorry, but as this is only a general contact address, I cannot
> properly answer technical questions such as yours. The best I can do
is
> refer you to the GCC Manual (http://gcc.gnu.org/onlinedocs/) and
> Frequently Asked Questions (http://gcc.gnu.org/faq.html). If neither
of
> those provide an answer to your question, please contact the GCC
users'
> help list; you can learn more about it at
<http://gcc.gnu.org/lists.html>.
>
> I am sorry that I couldn't be of more help.
>
>> [rambabu.gajula@ccpu.com - Wed Jun 01 07:02:37 2005]:
>>
>> Hi,
>>
>>
>>
>> I have started using the gcc 3.3.2 on sun solaris (OS version :
5.10),
>> I am facing new compilation warnings.
>>
>>
>>
>>
>>
>> Waring says about one logical comparision with macro.
>>
>>
>>
>> I have one macro( value is =255). I am trying to compare with
unsigned
>> integer .
>>
>>
>>
>> Warning: Comparison is always true due to limited range.
>>
>>
>>
>> How can I suppress this warning, I am not seeing the same with old
gcc.
>>
>>
>>
>> Please help me out.
>>
>>
>>
>>
>>
>> Thanks,
>>
>> Rambabu
>>
>> .
>>
>>
>>
> --
> Tony Wieczorek
> Program Assistant
> (617) 542-5942
>
> Free Software Foundation
> 59 Temple Place, Suite 330
> Boston, MA 02111-1307 USA
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gnu.org #244350] i am seeing a new warning with gcc 3.3.2
[not found] <rt-244350@gnu.org>
` (2 preceding siblings ...)
2005-06-08 15:55 ` Tony Wieczorek via RT
@ 2005-06-08 16:12 ` Vincent Torri via RT
2005-06-08 16:12 ` Vincent Torri via RT
4 siblings, 0 replies; 5+ messages in thread
From: Vincent Torri via RT @ 2005-06-08 16:12 UTC (permalink / raw)
To: rambabu.gajula; +Cc: gcc-help, gnu
you are doing something like :
if (l >= 0 )
{
**
}
with for example
unsigned int l;
As l is always greater or equal to 0, the test is always true.
regards
Vincent Torri
On Wed, 8 Jun 2005, Tony Wieczorek via RT wrote:
> I'm sorry, but as this is only a general contact address, I cannot
> properly answer technical questions such as yours. The best I can do is
> refer you to the GCC Manual (http://gcc.gnu.org/onlinedocs/) and
> Frequently Asked Questions (http://gcc.gnu.org/faq.html). If neither of
> those provide an answer to your question, please contact the GCC users'
> help list; you can learn more about it at <http://gcc.gnu.org/lists.html>.
>
> I am sorry that I couldn't be of more help.
>
>> [rambabu.gajula@ccpu.com - Wed Jun 01 07:02:37 2005]:
>>
>> Hi,
>>
>>
>>
>> I have started using the gcc 3.3.2 on sun solaris (OS version : 5.10),
>> I am facing new compilation warnings.
>>
>>
>>
>>
>>
>> Waring says about one logical comparision with macro.
>>
>>
>>
>> I have one macro( value is =255). I am trying to compare with unsigned
>> integer .
>>
>>
>>
>> Warning: Comparison is always true due to limited range.
>>
>>
>>
>> How can I suppress this warning, I am not seeing the same with old gcc.
>>
>>
>>
>> Please help me out.
>>
>>
>>
>>
>>
>> Thanks,
>>
>> Rambabu
>>
>> .
>>
>>
>>
> --
> Tony Wieczorek
> Program Assistant
> (617) 542-5942
>
> Free Software Foundation
> 59 Temple Place, Suite 330
> Boston, MA 02111-1307 USA
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [gnu.org #244350] i am seeing a new warning with gcc 3.3.2
[not found] <rt-244350@gnu.org>
` (3 preceding siblings ...)
2005-06-08 16:12 ` Vincent Torri via RT
@ 2005-06-08 16:12 ` Vincent Torri via RT
4 siblings, 0 replies; 5+ messages in thread
From: Vincent Torri via RT @ 2005-06-08 16:12 UTC (permalink / raw)
To: rambabu.gajula; +Cc: gcc-help, gnu
On Wed, 8 Jun 2005, Rambabu Gajula via RT wrote:
> Your right.
>
> How to suppress this warning.
by suppressing the test, as it is useless
Vincent Torri
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-06-08 16:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <rt-244350@gnu.org>
2005-06-08 15:26 ` [gnu.org #244350] i am seeing a new warning with gcc 3.3.2 Tony Wieczorek via RT
2005-06-08 15:55 ` Rambabu Gajula via RT
2005-06-08 15:55 ` Tony Wieczorek via RT
2005-06-08 16:12 ` Vincent Torri via RT
2005-06-08 16:12 ` Vincent Torri via RT
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).