Enable -Wcpp-undef for GHC and runtime system
authorBen Gamari <bgamari.foss@gmail.com>
Fri, 18 Aug 2017 12:37:14 +0000 (08:37 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sat, 19 Aug 2017 03:28:16 +0000 (23:28 -0400)
commit6267d8c9e54663a23f0ac13556522a53580d0910
tree40dbb3392d95eb1491228369f47c5fa5c6d73c8a
parentf50e30e0e34487ae8bf49653875ed7c8d0afa791
Enable -Wcpp-undef for GHC and runtime system

This gets us much of the benefit of enabling it globally, which avoiding
(at least for now) the pain of making the core libraries build as well.
See #13636.

Test Plan: Validate

Reviewers: erikd, austin

Subscribers: rwbarton, thomie

GHC Trac Issues: #13636

Differential Revision: https://phabricator.haskell.org/D3517
mk/warnings.mk