Project

General

Profile

Actions

Bug #1262

closed

Warnings in ndnlp-related files

Added by Alex Afanasyev almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Faces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

Not returning true

../daemon/face/ndnlp-partial-message-store.cpp:38:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
1 warning generated.

Putting m_scheduler after m_slicer in constructor initialization list

../tests/face/ndnlp.cpp:140:7: warning: field 'm_slicer' will be initialized after field 'm_scheduler' [-Wreorder]
    : m_slicer(1500)
      ^
1 warning generated.
Actions #1

Updated by Junxiao Shi almost 11 years ago

  • Description updated (diff)

Jenkins shows the first warning on OSX.

Which compiler version is showing the second warning?

Actions #2

Updated by Alex Afanasyev almost 11 years ago

I got both warnings on OSX 10.9 with default clang compiler (my nfd is configured in --debug mode)

Actions #3

Updated by Junxiao Shi almost 11 years ago

  • Status changed from New to In Progress

I'm able to reproduce on OSX 10.9 with LLVM 5.0

Actions #4

Updated by Junxiao Shi almost 11 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 100
Actions #5

Updated by Junxiao Shi almost 11 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF