Enable -Wno-orphans to fix warnings uncovered by GHC 9.8

GHC 9.8 is better about reporting orphan type family instances, which are used
in various spots in Macaw. Enable `-Wno-orphans` to suppress these warnings.
This commit is contained in:
Ryan Scott 2024-08-07 08:09:32 -04:00
parent 85ca3ba8d1
commit c1a1449ec2
4 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,7 @@
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -Wno-orphans #-}
module Data.Macaw.ARM.ARMReg
( ARMReg(..)

View File

@ -15,6 +15,7 @@
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE TypeSynonymInstances #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -Wno-orphans #-}
-- | Defines the register types for PowerPC, along with some helpers
module Data.Macaw.PPC.PPCReg (
PPCReg(..),

View File

@ -11,6 +11,7 @@
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -Wno-orphans #-}
module Data.Macaw.RISCV.RISCVReg
( -- * RISC-V macaw register state

View File

@ -16,6 +16,7 @@ x86_64 programs.
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NondecreasingIndentation #-}
{-# OPTIONS_GHC -Wno-orphans #-}
module Data.Macaw.X86
( x86_64_info
, x86_64_freeBSD_info