Project

General

Profile

Bug #2668

GlobalRoutingHelper: -Wsign-compare

Added by Junxiao Shi about 5 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Normal
Category:
helpers
Target version:
-
Start date:
03/23/2015
Due date:
% Done:

0%

Estimated time:
0.50 h

Description

gcc46 warning:

../src/ndnSIM/helper/ndn-global-routing-helper.cpp: In static member function ‘static void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes()’:
../src/ndnSIM/helper/ndn-global-routing-helper.cpp:368:99: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#1

Updated by satya narayana almost 5 years ago

  • Assignee set to satya narayana
#2

Updated by satya narayana almost 5 years ago

  • Status changed from New to Code review
#3

Updated by Junxiao Shi almost 5 years ago

  • Tracker changed from Task to Bug
#4

Updated by Alex Afanasyev over 4 years ago

  • Status changed from Code review to Rejected

I don't think this issue exists in the latest code. The comparison at the line 368 is between uint64_t (Face::getMetric) and uint16_t value. There shouldn't be such a warning (it may existed in previous versions, but I didn't check).

Also available in: Atom PDF