10178 Enable compiler warnings when building C++ code

Review Request #1342 - Created Jan. 5, 2019 and updated

Information
Andrew Stormont
illumos-gate
10178
Reviewers
general

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.

Tested build.

Issues

  • 0
  • 0
  • 1
  • 1
Description From Last Updated
Rich Lowe

   
usr/src/Makefile.master (Diff revision 2)
 
 

Are these definitely valid for studio CC(1)? it's needlessly different in so many other respects...

  1. Im not 100% sure, but I did see them listed on the documentation I found on Oracles's site.

Rich Lowe
Ship It!
Andy Fiddaman
Ship It!
Loading...