From 0ef119071347f7bc14f0fa89904b0cfd0b230ac1 Mon Sep 17 00:00:00 2001 From: Sylvain Henry Date: Thu, 6 May 2021 22:22:02 +0200 Subject: Fully remove HsVersions.h Replace uses of WARN macro with calls to: warnPprTrace :: Bool -> SDoc -> a -> a Remove the now unused HsVersions.h Bump haddock submodule --- compiler/GHC/Unit/Finder.hs | 2 -- compiler/GHC/Unit/Info.hs | 2 -- compiler/GHC/Unit/State.hs | 2 -- 3 files changed, 6 deletions(-) (limited to 'compiler/GHC/Unit') diff --git a/compiler/GHC/Unit/Finder.hs b/compiler/GHC/Unit/Finder.hs index 903fd27891..4f0ec1030b 100644 --- a/compiler/GHC/Unit/Finder.hs +++ b/compiler/GHC/Unit/Finder.hs @@ -32,8 +32,6 @@ module GHC.Unit.Finder ( ) where -#include "HsVersions.h" - import GHC.Prelude import GHC.Driver.Session diff --git a/compiler/GHC/Unit/Info.hs b/compiler/GHC/Unit/Info.hs index f88a9ea94b..b112bd7fee 100644 --- a/compiler/GHC/Unit/Info.hs +++ b/compiler/GHC/Unit/Info.hs @@ -29,8 +29,6 @@ module GHC.Unit.Info ) where -#include "HsVersions.h" - import GHC.Prelude import GHC.Platform.Ways diff --git a/compiler/GHC/Unit/State.hs b/compiler/GHC/Unit/State.hs index 9e154152d7..5ae835bc51 100644 --- a/compiler/GHC/Unit/State.hs +++ b/compiler/GHC/Unit/State.hs @@ -69,8 +69,6 @@ module GHC.Unit.State ( ) where -#include "HsVersions.h" - import GHC.Prelude import GHC.Driver.Session -- cgit v1.2.1