Project

General

Profile

Actions

Bug #2668

closed

GlobalRoutingHelper: -Wsign-compare

Added by Junxiao Shi about 9 years ago. Updated over 8 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]
Actions #1

Updated by satya narayana almost 9 years ago

  • Assignee set to satya narayana
Actions #2

Updated by satya narayana almost 9 years ago

  • Status changed from New to Code review
Actions #3

Updated by Junxiao Shi over 8 years ago

  • Tracker changed from Task to Bug
Actions #4

Updated by Alex Afanasyev over 8 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).

Actions

Also available in: Atom PDF