Skip to content

Commit

Permalink
Replace -fno-warn with -Wno
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast authored and tomjaguarpaw committed May 31, 2024
1 parent 08342e0 commit 3bddf3d
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/Stan/Core/Id.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS_GHC -fno-warn-redundant-constraints #-}
{-# OPTIONS_GHC -Wno-redundant-constraints #-}

{-# LANGUAGE AllowAmbiguousTypes #-}
{-# LANGUAGE DataKinds #-}
Expand Down
2 changes: 1 addition & 1 deletion src/Stan/Example.hs
Original file line number Diff line number Diff line change
@@ -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 #-}
Expand Down
2 changes: 1 addition & 1 deletion src/Stan/Ghc/Compat902.hs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Stan/Ghc/Compat906.hs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Stan/Hie/Debug810.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{-# LANGUAGE CPP #-}

{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# OPTIONS_GHC -Wno-orphans #-}

{- |
Copyright: (c) 2020 Kowainik
Expand Down
2 changes: 1 addition & 1 deletion src/Stan/Hie/Debug900.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{-# LANGUAGE CPP #-}

{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# OPTIONS_GHC -Wno-orphans #-}

{-# LANGUAGE FlexibleInstances #-}

Expand Down
2 changes: 1 addition & 1 deletion src/Stan/Hie/Debug902.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{-# LANGUAGE CPP #-}

{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# OPTIONS_GHC -Wno-orphans #-}

{-# LANGUAGE FlexibleInstances #-}

Expand Down
2 changes: 1 addition & 1 deletion src/Stan/Hie/Debug908.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{-# LANGUAGE CPP #-}

{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# OPTIONS_GHC -Wno-orphans #-}

{-# LANGUAGE FlexibleInstances #-}

Expand Down
2 changes: 1 addition & 1 deletion target/Target/AntiPattern.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS_GHC -fno-warn-missing-export-lists #-}
{-# OPTIONS_GHC -Wno-missing-export-lists #-}

module Target.AntiPattern where

Expand Down
2 changes: 1 addition & 1 deletion target/Target/AntiPattern/Stan0206.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS_GHC -fno-warn-missing-export-lists #-}
{-# OPTIONS_GHC -Wno-missing-export-lists #-}
{-# LANGUAGE ExistentialQuantification #-}
module Target.AntiPattern.Stan0206 where

Expand Down
2 changes: 1 addition & 1 deletion target/Target/AntiPattern/Stan0206Extensions.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS_GHC -fno-warn-missing-export-lists #-}
{-# OPTIONS_GHC -Wno-missing-export-lists #-}

{-# LANGUAGE StrictData #-}

Expand Down
2 changes: 1 addition & 1 deletion target/Target/AntiPattern/Stan0212.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS_GHC -fno-warn-missing-export-lists #-}
{-# OPTIONS_GHC -Wno-missing-export-lists #-}

module Target.AntiPattern.Stan0212 where

Expand Down
2 changes: 1 addition & 1 deletion target/Target/AntiPattern/Stan0213.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS_GHC -fno-warn-missing-export-lists #-}
{-# OPTIONS_GHC -Wno-missing-export-lists #-}

{- | Sum types pattern matching on @_@ -}

Expand Down
2 changes: 1 addition & 1 deletion target/Target/AntiPattern/Stan0214.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS_GHC -fno-warn-missing-export-lists #-}
{-# OPTIONS_GHC -Wno-missing-export-lists #-}

module Target.AntiPattern.Stan0214 where

Expand Down
2 changes: 1 addition & 1 deletion target/Target/Infinite.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS_GHC -fno-warn-missing-export-lists #-}
{-# OPTIONS_GHC -Wno-missing-export-lists #-}

module Target.Infinite where

Expand Down
2 changes: 1 addition & 1 deletion target/Target/Partial.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS_GHC -fno-warn-missing-export-lists #-}
{-# OPTIONS_GHC -Wno-missing-export-lists #-}

module Target.Partial where

Expand Down
2 changes: 1 addition & 1 deletion target/Target/Style.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS_GHC -fno-warn-missing-export-lists #-}
{-# OPTIONS_GHC -Wno-missing-export-lists #-}

module Target.Style where

Expand Down

0 comments on commit 3bddf3d

Please sign in to comment.