bug-make
[Top][All Lists]
Advanced

[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/




reply via email to

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