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: Paul D. Smith
Subject: [bug #34608] comparison of unsigned expression < 0 is always false
Date: Mon, 14 Nov 2011 18:18:14 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.10 (maverick) Firefox/3.6.24

Follow-up Comment #12, bug #34608 (project make):

Doing it at configure time is surprisingly difficult.  You have to remember
that, for any package which wants to properly cross-compile (which we do), you
can't actually RUN any test programs during configure time.  In order to test
it you'd need to determine a way to do so that works reliably, is portable
between all the different compilers, and can be detected solely by the
compiler or linker, without running any resulting code.

Also, the macro looks gross but any compiler in the world will simplify it to
a constant at compile-time and optimize out all the unused stuff anyway.

    _______________________________________________________

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]