mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-22 05:45:51 +03:00
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:
parent
85ca3ba8d1
commit
c1a1449ec2
@ -12,6 +12,7 @@
|
|||||||
{-# LANGUAGE TypeFamilies #-}
|
{-# LANGUAGE TypeFamilies #-}
|
||||||
{-# LANGUAGE TypeOperators #-}
|
{-# LANGUAGE TypeOperators #-}
|
||||||
{-# LANGUAGE UndecidableInstances #-}
|
{-# LANGUAGE UndecidableInstances #-}
|
||||||
|
{-# OPTIONS_GHC -Wno-orphans #-}
|
||||||
|
|
||||||
module Data.Macaw.ARM.ARMReg
|
module Data.Macaw.ARM.ARMReg
|
||||||
( ARMReg(..)
|
( ARMReg(..)
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
{-# LANGUAGE TypeOperators #-}
|
{-# LANGUAGE TypeOperators #-}
|
||||||
{-# LANGUAGE TypeSynonymInstances #-}
|
{-# LANGUAGE TypeSynonymInstances #-}
|
||||||
{-# LANGUAGE UndecidableInstances #-}
|
{-# LANGUAGE UndecidableInstances #-}
|
||||||
|
{-# OPTIONS_GHC -Wno-orphans #-}
|
||||||
-- | Defines the register types for PowerPC, along with some helpers
|
-- | Defines the register types for PowerPC, along with some helpers
|
||||||
module Data.Macaw.PPC.PPCReg (
|
module Data.Macaw.PPC.PPCReg (
|
||||||
PPCReg(..),
|
PPCReg(..),
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
{-# LANGUAGE TypeFamilies #-}
|
{-# LANGUAGE TypeFamilies #-}
|
||||||
{-# LANGUAGE TypeOperators #-}
|
{-# LANGUAGE TypeOperators #-}
|
||||||
{-# LANGUAGE UndecidableInstances #-}
|
{-# LANGUAGE UndecidableInstances #-}
|
||||||
|
{-# OPTIONS_GHC -Wno-orphans #-}
|
||||||
|
|
||||||
module Data.Macaw.RISCV.RISCVReg
|
module Data.Macaw.RISCV.RISCVReg
|
||||||
( -- * RISC-V macaw register state
|
( -- * RISC-V macaw register state
|
||||||
|
@ -16,6 +16,7 @@ x86_64 programs.
|
|||||||
{-# LANGUAGE ScopedTypeVariables #-}
|
{-# LANGUAGE ScopedTypeVariables #-}
|
||||||
{-# LANGUAGE TypeFamilies #-}
|
{-# LANGUAGE TypeFamilies #-}
|
||||||
{-# LANGUAGE NondecreasingIndentation #-}
|
{-# LANGUAGE NondecreasingIndentation #-}
|
||||||
|
{-# OPTIONS_GHC -Wno-orphans #-}
|
||||||
module Data.Macaw.X86
|
module Data.Macaw.X86
|
||||||
( x86_64_info
|
( x86_64_info
|
||||||
, x86_64_freeBSD_info
|
, x86_64_freeBSD_info
|
||||||
|
Loading…
Reference in New Issue
Block a user