[Ns-bugs] [Bug 1369] New: [LLVM] error: comparison of unsigned expression < 0 is always false
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Wed Feb 22 03:24:01 PST 2012
https://www.nsnam.org/bugzilla/show_bug.cgi?id=1369
Summary: [LLVM] error: comparison of unsigned expression < 0 is
always false
Product: ns-3
Version: ns-3-dev
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: dsdv
AssignedTo: hemanthnarra222 at gmail.com
ReportedBy: gjcarneiro at gmail.com
CC: ns-bugs at isi.edu
Estimated Hours: 0.0
With clang++ 2.9:
[ 856/1334] cxx: src/dsdv/model/dsdv-routing-protocol.cc ->
build/src/dsdv/model/dsdv-routing-protocol.cc.1.o
../src/dsdv/model/dsdv-routing-protocol.cc:843:25: error: comparison of
unsigned expression < 0 is always false
[-Werror,-Wtautological-compare]
if (allRoutes.size () < 0)
~~~~~~~~~~~~~~~~~ ^ ~
1 error generated.
--
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs
mailing list