In the past, it is enabled by default. Looks like it is a regression during oss and build refactoring process.
Cheers Lei On Mon, Sep 5, 2016 at 6:05 PM +0800, "Paul Guo" <[email protected]> wrote: -Werror Make all warnings into errors. I've seen many cases (not just hawq) before that ignoring gcc warning leads to bugs. I'm wondering we should add the option for the gcc case. Given there may be a lot of warnings when building the common postgres code in hawq, we could at least enforce it in our own code at first (src/backend/cdb, src/backend/resourcemanager, src/test/feature, other directories?)? Any suggestion?
