Skip to content
Snippets Groups Projects
Commit f484169c authored by Ben Gamari's avatar Ben Gamari
Browse files

hadrian: Ignore warnings in unix and semaphore-compat

(cherry picked from commit dec81dd1)
parent c4bb9e3e
No related branches found
No related tags found
No related merge requests found
......@@ -128,9 +128,13 @@ werror =
? notStage0
? mconcat
[ arg "-Werror"
, flag CrossCompiling
? package unix
-- unix has many unused imports
, package unix
? mconcat [arg "-Wwarn=unused-imports", arg "-Wwarn=unused-top-binds"]
-- semaphore-compat relies on sem_getvalue as provided by unix, which is
-- not implemented on Darwin and therefore throws a deprecation warning
, package semaphoreCompat
? mconcat [arg "-Wwarn=deprecations"]
]
, builder Ghc
? package rts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment