do not use -Wno-orphan flag before GHC 8.0

This commit is contained in:
Harendra Kumar 2018-06-24 06:38:16 +05:30
parent 7a526f22b9
commit bd11ec2037
2 changed files with 4 additions and 0 deletions

View File

@ -6,7 +6,9 @@
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE UndecidableInstances #-} -- XXX
#if __GLASGOW_HASKELL__ >= 800
{-# OPTIONS_GHC -Wno-orphans #-}
#endif
#include "Streams/inline.h"

View File

@ -9,7 +9,9 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE UndecidableInstances #-} -- XXX
#if __GLASGOW_HASKELL__ >= 800
{-# OPTIONS_GHC -Wno-orphans #-}
#endif
#include "inline.h"