From c0d7d5d5c202a6874e4d9a2170c26bc0c4d264dc Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Fri, 31 May 2024 08:23:03 -0400 Subject: [PATCH] Replace -fno-warn with -Wno --- src/Stan/Core/Id.hs | 2 +- src/Stan/Example.hs | 2 +- src/Stan/Ghc/Compat902.hs | 2 +- src/Stan/Ghc/Compat906.hs | 2 +- src/Stan/Hie/Debug810.hs | 2 +- src/Stan/Hie/Debug900.hs | 2 +- src/Stan/Hie/Debug902.hs | 2 +- src/Stan/Hie/Debug908.hs | 2 +- target/Target/AntiPattern.hs | 2 +- target/Target/AntiPattern/Stan0206.hs | 2 +- target/Target/AntiPattern/Stan0206Extensions.hs | 2 +- target/Target/AntiPattern/Stan0212.hs | 2 +- target/Target/AntiPattern/Stan0213.hs | 2 +- target/Target/AntiPattern/Stan0214.hs | 2 +- target/Target/Infinite.hs | 2 +- target/Target/Partial.hs | 2 +- target/Target/Style.hs | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/Stan/Core/Id.hs b/src/Stan/Core/Id.hs index 306ad133..ac28cfef 100644 --- a/src/Stan/Core/Id.hs +++ b/src/Stan/Core/Id.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-warn-redundant-constraints #-} +{-# OPTIONS_GHC -Wno-redundant-constraints #-} {-# LANGUAGE AllowAmbiguousTypes #-} {-# LANGUAGE DataKinds #-} diff --git a/src/Stan/Example.hs b/src/Stan/Example.hs index a6ece86e..add7b87a 100644 --- a/src/Stan/Example.hs +++ b/src/Stan/Example.hs @@ -1,5 +1,5 @@ {- HLINT ignore "Unused LANGUAGE pragma" -} -{-# OPTIONS_GHC -fno-warn-unused-top-binds #-} +{-# OPTIONS_GHC -Wno-unused-top-binds #-} {-# LANGUAGE NoUndecidableInstances #-} {-# LANGUAGE PatternSynonyms #-} diff --git a/src/Stan/Ghc/Compat902.hs b/src/Stan/Ghc/Compat902.hs index 4ad365e6..26fcd4f6 100644 --- a/src/Stan/Ghc/Compat902.hs +++ b/src/Stan/Ghc/Compat902.hs @@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE UndecidableInstances #-} -{-# OPTIONS_GHC -fno-warn-orphans #-} +{-# OPTIONS_GHC -Wno-orphans #-} module Stan.Ghc.Compat902 #if __GLASGOW_HASKELL__ == 902 || __GLASGOW_HASKELL__ == 904 diff --git a/src/Stan/Ghc/Compat906.hs b/src/Stan/Ghc/Compat906.hs index f5763a00..b438ca57 100644 --- a/src/Stan/Ghc/Compat906.hs +++ b/src/Stan/Ghc/Compat906.hs @@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE UndecidableInstances #-} -{-# OPTIONS_GHC -fno-warn-orphans #-} +{-# OPTIONS_GHC -Wno-orphans #-} module Stan.Ghc.Compat906 #if __GLASGOW_HASKELL__ == 906 || __GLASGOW_HASKELL__ == 908 diff --git a/src/Stan/Hie/Debug810.hs b/src/Stan/Hie/Debug810.hs index 601da400..331ba192 100644 --- a/src/Stan/Hie/Debug810.hs +++ b/src/Stan/Hie/Debug810.hs @@ -1,6 +1,6 @@ {-# LANGUAGE CPP #-} -{-# OPTIONS_GHC -fno-warn-orphans #-} +{-# OPTIONS_GHC -Wno-orphans #-} {- | Copyright: (c) 2020 Kowainik diff --git a/src/Stan/Hie/Debug900.hs b/src/Stan/Hie/Debug900.hs index ea73e467..7763cd69 100644 --- a/src/Stan/Hie/Debug900.hs +++ b/src/Stan/Hie/Debug900.hs @@ -1,6 +1,6 @@ {-# LANGUAGE CPP #-} -{-# OPTIONS_GHC -fno-warn-orphans #-} +{-# OPTIONS_GHC -Wno-orphans #-} {-# LANGUAGE FlexibleInstances #-} diff --git a/src/Stan/Hie/Debug902.hs b/src/Stan/Hie/Debug902.hs index df97e058..4e823ae5 100644 --- a/src/Stan/Hie/Debug902.hs +++ b/src/Stan/Hie/Debug902.hs @@ -1,6 +1,6 @@ {-# LANGUAGE CPP #-} -{-# OPTIONS_GHC -fno-warn-orphans #-} +{-# OPTIONS_GHC -Wno-orphans #-} {-# LANGUAGE FlexibleInstances #-} diff --git a/src/Stan/Hie/Debug908.hs b/src/Stan/Hie/Debug908.hs index 00dc77da..062691ca 100644 --- a/src/Stan/Hie/Debug908.hs +++ b/src/Stan/Hie/Debug908.hs @@ -1,6 +1,6 @@ {-# LANGUAGE CPP #-} -{-# OPTIONS_GHC -fno-warn-orphans #-} +{-# OPTIONS_GHC -Wno-orphans #-} {-# LANGUAGE FlexibleInstances #-} diff --git a/target/Target/AntiPattern.hs b/target/Target/AntiPattern.hs index 7ce0c1c4..bff0fc81 100644 --- a/target/Target/AntiPattern.hs +++ b/target/Target/AntiPattern.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-warn-missing-export-lists #-} +{-# OPTIONS_GHC -Wno-missing-export-lists #-} module Target.AntiPattern where diff --git a/target/Target/AntiPattern/Stan0206.hs b/target/Target/AntiPattern/Stan0206.hs index 32b94dd8..b5cdefbe 100644 --- a/target/Target/AntiPattern/Stan0206.hs +++ b/target/Target/AntiPattern/Stan0206.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-warn-missing-export-lists #-} +{-# OPTIONS_GHC -Wno-missing-export-lists #-} {-# LANGUAGE ExistentialQuantification #-} module Target.AntiPattern.Stan0206 where diff --git a/target/Target/AntiPattern/Stan0206Extensions.hs b/target/Target/AntiPattern/Stan0206Extensions.hs index fa174f9f..c93b71ab 100644 --- a/target/Target/AntiPattern/Stan0206Extensions.hs +++ b/target/Target/AntiPattern/Stan0206Extensions.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-warn-missing-export-lists #-} +{-# OPTIONS_GHC -Wno-missing-export-lists #-} {-# LANGUAGE StrictData #-} diff --git a/target/Target/AntiPattern/Stan0212.hs b/target/Target/AntiPattern/Stan0212.hs index 95b11549..4ba6af1e 100644 --- a/target/Target/AntiPattern/Stan0212.hs +++ b/target/Target/AntiPattern/Stan0212.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-warn-missing-export-lists #-} +{-# OPTIONS_GHC -Wno-missing-export-lists #-} module Target.AntiPattern.Stan0212 where diff --git a/target/Target/AntiPattern/Stan0213.hs b/target/Target/AntiPattern/Stan0213.hs index edda8022..d98e01e1 100644 --- a/target/Target/AntiPattern/Stan0213.hs +++ b/target/Target/AntiPattern/Stan0213.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-warn-missing-export-lists #-} +{-# OPTIONS_GHC -Wno-missing-export-lists #-} {- | Sum types pattern matching on @_@ -} diff --git a/target/Target/AntiPattern/Stan0214.hs b/target/Target/AntiPattern/Stan0214.hs index c3f8b108..065c3684 100644 --- a/target/Target/AntiPattern/Stan0214.hs +++ b/target/Target/AntiPattern/Stan0214.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-warn-missing-export-lists #-} +{-# OPTIONS_GHC -Wno-missing-export-lists #-} module Target.AntiPattern.Stan0214 where diff --git a/target/Target/Infinite.hs b/target/Target/Infinite.hs index d15a8aa2..75dd4635 100644 --- a/target/Target/Infinite.hs +++ b/target/Target/Infinite.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-warn-missing-export-lists #-} +{-# OPTIONS_GHC -Wno-missing-export-lists #-} module Target.Infinite where diff --git a/target/Target/Partial.hs b/target/Target/Partial.hs index 74b86080..6a53d6eb 100644 --- a/target/Target/Partial.hs +++ b/target/Target/Partial.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-warn-missing-export-lists #-} +{-# OPTIONS_GHC -Wno-missing-export-lists #-} module Target.Partial where diff --git a/target/Target/Style.hs b/target/Target/Style.hs index 1b4d9105..560be6f9 100644 --- a/target/Target/Style.hs +++ b/target/Target/Style.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-warn-missing-export-lists #-} +{-# OPTIONS_GHC -Wno-missing-export-lists #-} module Target.Style where