Project

General

Profile

Actions

Task #3293

closed

Turn on -Wextra

Added by Davide Pesavento about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Low
Category:
Build
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

I propose to add -Wextra to the default compiler flags for ndn-cxx, nfd, and ndn-tools.

The only problem is that it enables the completely useless warning about unused parameters, so we need to disable that at the same time.

Moreover, with gcc-4.x we also have to pass -Wno-missing-field-initializers to suppress a bogus warning that was finally fixed in gcc-5. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55805

Actions #1

Updated by Davide Pesavento about 9 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 20
Actions #2

Updated by Davide Pesavento about 9 years ago

  • Status changed from In Progress to Code review
  • Target version set to v0.4
  • % Done changed from 20 to 100

All changes pushed for ndn-cxx, nfd, ndn-tools.

Actions #3

Updated by Davide Pesavento about 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF