Skip to content

Commit 8ef3243

Browse files
committed
Remove unnecessary ghc_options.
Add -Werror to all others Compiles with ghc928
1 parent 57a86d2 commit 8ef3243

File tree

20 files changed

+13
-30
lines changed

20 files changed

+13
-30
lines changed

codebase2/codebase-sqlite-hashing-v2/unison-codebase-sqlite-hashing-v2.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ library
5353
TupleSections
5454
TypeApplications
5555
ViewPatterns
56-
ghc-options: -Wall
5756
build-depends:
5857
base
5958
, bytes

lib/orphans/network-uri-orphans-sqlite/network-uri-orphans-sqlite.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ library
4545
TupleSections
4646
TypeApplications
4747
ViewPatterns
48-
ghc-options: -Wall -fno-warn-orphans
48+
ghc-options: -Wall -Werror -fno-warn-orphans
4949
build-depends:
5050
base
5151
, network-uri

lib/orphans/unison-hash-orphans-aeson/unison-hash-orphans-aeson.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ library
4545
TupleSections
4646
TypeApplications
4747
ViewPatterns
48-
ghc-options: -Wall -fno-warn-orphans
48+
ghc-options: -Wall -Werror -fno-warn-orphans
4949
build-depends:
5050
aeson
5151
, base

lib/orphans/unison-hash-orphans-sqlite/unison-hash-orphans-sqlite.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ library
4545
TupleSections
4646
TypeApplications
4747
ViewPatterns
48-
ghc-options: -Wall -fno-warn-orphans
48+
ghc-options: -Wall -Werror -fno-warn-orphans
4949
build-depends:
5050
base
5151
, sqlite-simple

lib/unison-hashing/unison-hashing.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ library
4848
TypeApplications
4949
TypeFamilies
5050
ViewPatterns
51-
ghc-options: -Wall -O0 -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures
51+
ghc-options: -Wall -Werror -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures
5252
build-depends:
5353
base
5454
, unison-hash

lib/unison-prelude/unison-prelude.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ library
6060
TypeApplications
6161
TypeFamilies
6262
ViewPatterns
63-
ghc-options: -Wall
6463
build-depends:
6564
base
6665
, bytestring

lib/unison-pretty-printer/unison-pretty-printer.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ library
5454
TupleSections
5555
TypeApplications
5656
ViewPatterns
57-
ghc-options: -Wall -O0 -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures
57+
ghc-options: -Wall -Werror -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures
5858
build-depends:
5959
ListLike
6060
, ansi-terminal
@@ -100,7 +100,7 @@ executable prettyprintdemo
100100
TupleSections
101101
TypeApplications
102102
ViewPatterns
103-
ghc-options: -Wall -O0 -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures
103+
ghc-options: -Wall -Werror -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures
104104
build-depends:
105105
base
106106
, safe
@@ -141,7 +141,7 @@ test-suite pretty-printer-tests
141141
TupleSections
142142
TypeApplications
143143
ViewPatterns
144-
ghc-options: -Wall -O0 -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures -W -threaded -rtsopts "-with-rtsopts=-N -T" -v0
144+
ghc-options: -Wall -Werror -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures -W -threaded -rtsopts "-with-rtsopts=-N -T" -v0
145145
build-depends:
146146
base
147147
, code-page

lib/unison-sqlite/unison-sqlite.cabal

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ library
6161
TupleSections
6262
TypeApplications
6363
ViewPatterns
64-
ghc-options: -Wall
6564
build-depends:
6665
base
6766
, direct-sqlite
@@ -122,7 +121,6 @@ test-suite tests
122121
TupleSections
123122
TypeApplications
124123
ViewPatterns
125-
ghc-options: -Wall
126124
build-depends:
127125
base
128126
, code-page

lib/unison-util-base32hex/unison-util-base32hex.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ library
4444
TupleSections
4545
TypeApplications
4646
ViewPatterns
47-
ghc-options: -Wall
4847
build-depends:
4948
base
5049
, base32

lib/unison-util-bytes/unison-util-bytes.cabal

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ library
5050
TypeApplications
5151
TypeFamilies
5252
ViewPatterns
53-
ghc-options: -Wall
5453
build-depends:
5554
base
5655
, basement
@@ -102,7 +101,6 @@ test-suite util-bytes-tests
102101
TypeApplications
103102
TypeFamilies
104103
ViewPatterns
105-
ghc-options: -Wall
106104
build-depends:
107105
base
108106
, basement

0 commit comments

Comments
 (0)