Skip to content

Commit

Permalink
Use newer warning flags in **/Z.hs
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Jan 12, 2025
1 parent 7e10e60 commit 573f92f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/Simple/Build/PackageInfoModule/Z.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ render z_root = execWriter $ do
return ()
else do
return ()
tell "{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}\n"
tell "{-# OPTIONS_GHC -Wno-missing-import-lists #-}\n"
tell "{-# OPTIONS_GHC -w #-}\n"
tell "module PackageInfo_"
tell (zPackageName z_root)
Expand Down
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/Simple/Build/PathsModule/Z.hs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ render z_root = execWriter $ do
return ()
else do
return ()
tell "{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}\n"
tell "{-# OPTIONS_GHC -Wno-missing-import-lists #-}\n"
tell "{-# OPTIONS_GHC -w #-}\n"
tell "module Paths_"
tell (zManglePkgName z_root (zPackageName z_root))
Expand Down

0 comments on commit 573f92f

Please sign in to comment.