[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #34608] comparison of unsigned expression < 0 is always false
From: |
Daniel Herring |
Subject: |
[bug #34608] comparison of unsigned expression < 0 is always false |
Date: |
Mon, 14 Nov 2011 18:08:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 CentOS/3.6-2.el5.centos Firefox/3.6.13 |
Follow-up Comment #11, bug #34608 (project make):
Don't reopen this for me, but you might consider doing this check at configure
time.
>From a quick look, I didn't see something like AC_IS_SIGNED. However it
shouldn't be hard to wrap AC_COMPILE_IFELSE around an array-bound test that
triggers a failure if a type is unsigned. From a quick web search, here's an
example test.
http://blog.tsunanet.net/2008/09/compile-time-assertion-to-detect-signed.html
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34608>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #34608] comparison of unsigned expression < 0 is always false, (continued)
- [bug #34608] comparison of unsigned expression < 0 is always false, Sebastian Pipping, 2011/11/13
- [bug #34608] comparison of unsigned expression < 0 is always false, Paul D. Smith, 2011/11/13
- [bug #34608] comparison of unsigned expression < 0 is always false, Sebastian Pipping, 2011/11/13
- [bug #34608] comparison of unsigned expression < 0 is always false, Paul D. Smith, 2011/11/13
- [bug #34608] comparison of unsigned expression < 0 is always false, Sebastian Pipping, 2011/11/13
- [bug #34608] comparison of unsigned expression < 0 is always false, Paul D. Smith, 2011/11/13
- [bug #34608] comparison of unsigned expression < 0 is always false, Sebastian Pipping, 2011/11/13
- [bug #34608] comparison of unsigned expression < 0 is always false, Paul D. Smith, 2011/11/13
- [bug #34608] comparison of unsigned expression < 0 is always false, Paul D. Smith, 2011/11/13
- [bug #34608] comparison of unsigned expression < 0 is always false, Sebastian Pipping, 2011/11/14
- [bug #34608] comparison of unsigned expression < 0 is always false,
Daniel Herring <=
- [bug #34608] comparison of unsigned expression < 0 is always false, Paul D. Smith, 2011/11/14
- [bug #34608] comparison of unsigned expression < 0 is always false, Daniel Herring, 2011/11/14