diff --git a/compdata.cabal b/compdata.cabal
--- a/compdata.cabal
+++ b/compdata.cabal
@@ -1,5 +1,5 @@
 Name:			compdata
-Version:		0.6.1.3
+Version:		0.6.1.4
 Synopsis:            	Compositional Data Types
 Description:
 
diff --git a/src/Data/Comp/Derive/Utils.hs b/src/Data/Comp/Derive/Utils.hs
--- a/src/Data/Comp/Derive/Utils.hs
+++ b/src/Data/Comp/Derive/Utils.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 --------------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Comp.Derive.Utils
@@ -18,6 +19,12 @@
 import Language.Haskell.TH.Syntax
 import Control.Monad
 import Language.Haskell.TH.ExpandSyns
+
+-- reportError is introduced only from version 7.6 of GHC
+#if __GLASGOW_HASKELL__ < 706
+reportError :: String -> Q ()
+reportError = report True
+#endif
 
 {-|
   This is the @Q@-lifted version of 'abstractNewtypeQ.
