Commit 97e1f300 authored by Richard Eisenberg's avatar Richard Eisenberg

Fix compilation stopper on macOS with -Werror

Commit 94f02547
added some pragmas that allow GCC to compile GHC, but stop
macOS's clang. This adds another counter-pragma to halp
clang lumber along, too.

Fixes #14977.
parent 41c15587
......@@ -123,8 +123,10 @@ hs_atomic_and64(StgWord x, StgWord64 val)
// Otherwise this fails with -Werror
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsync-nand"
extern StgWord hs_atomic_nand8(StgWord x, StgWord val);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment