10178 Enable compiler warnings when building C++ code

Review Request #1342 — Created Jan. 5, 2019 and submitted — Latest diff uploaded

andy_js
illumos-gate
10178
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...