10178 Enable compiler warnings when building C++ code

Review Request #1342 - Created Jan. 6, 2019 and updated - Latest diff uploaded

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.

Loading...