Project

General

Profile

Bug #10178

Enable compiler warnings when building C++ code

Added by Andrew Stormont 10 months ago. Updated 8 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2019-01-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

We pass -xne to turn warnings into errors but never actually turn on more than the default set of warnings, which are extremely permissive. For consistency's sake we should be turning on he same warnings that we enable when building C code.

History

#2

Updated by Electric Monk 8 days ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 8e0c82482ca0deab087522e43df87919b37037f3

commit  8e0c82482ca0deab087522e43df87919b37037f3
Author: Andrew Stormont <astormont@racktopsystems.com>
Date:   2019-10-12T14:42:48.000Z

    10178 Enable compiler warnings when building C++ code
    Reviewed by: Matthias Scheler <matthias.scheler@wdc.com>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF