Project

General

Profile

Actions

Task #1500

closed

Resolve compile warnings after building system is updated

Added by Yingdi Yu over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
04/17/2014
Due date:
% Done:

100%

Estimated time:
4.00 h

Description

With the updated building system, a lot of compile warnings show up.

For example:

NLSR0.0/src/utility/nlsr_tokenizer.hpp:61:28: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
  if(m_currentPosition >= 0 && m_currentPosition <= (m_vTokenList.size()-1))
     ~~~~~~~~~~~~~~~~~ ^  ~

And

NLSR0.0/src/nlsr_conf_param.hpp:26:9: warning: field 'm_tunnelType' will be initialized after field 'm_detailedLogging' [-Wreorder]
  , m_tunnelType(0)
    ^

Warnings usually indicate some potential problem and should be resolved if possible.

Actions #1

Updated by Yingdi Yu over 11 years ago

  • Assignee set to A K M Mahmudul Hoque
Actions #2

Updated by A K M Mahmudul Hoque over 11 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90
  • Estimated time set to 4.00 h
Actions #3

Updated by A K M Mahmudul Hoque over 11 years ago

  • % Done changed from 90 to 100
Actions #4

Updated by A K M Mahmudul Hoque over 11 years ago

  • Status changed from In Progress to Code review
Actions #5

Updated by A K M Mahmudul Hoque over 11 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF