Bug 1373 - [LLVM] error: comparison of unsigned expression >= 0 is always true
[LLVM] error: comparison of unsigned expression >= 0 is always true
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: ipv6
ns-3-dev
All All
: P5 normal
Assigned To: Tommaso Pecorella
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-22 06:32 UTC by Gustavo J. A. M. Carneiro
Modified: 2012-02-23 18:27 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo J. A. M. Carneiro 2012-02-22 06:32:00 UTC
../src/internet/model/ipv6-address-generator.cc:500:27: error: comparison of unsigned expression >= 0 is always true
      [-Werror,-Wtautological-compare]
  for (uint32_t i = 15; i >= 0; --i)
                        ~ ^  ~
1 error generated.
Comment 1 Tommaso Pecorella 2012-02-23 18:27:31 UTC
Fixed with changeset 7740 - 6a3efc9d517d