From e0c83f74f39ca94437d0b6f823c6f932aa663fe0 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sun, 8 Nov 2015 21:43:31 -0800
Subject: [PATCH] Give up support for ghc 7.4.

---
 .travis.yml        | 3 ---
 make_travis_yml.hs | 2 +-
 pandoc.cabal       | 2 +-
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 2901288e9..cd6b1ee25 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,9 +13,6 @@ before_cache:
 
 matrix:
   include:
-    - env: CABALVER=1.16 GHCVER=7.4.2 GHCOPTS=-Werror
-      compiler: ": #GHC 7.4.2"
-      addons: {apt: {packages: [cabal-install-1.16,ghc-7.4.2], sources: [hvr-ghc]}}
     - env: CABALVER=1.16 GHCVER=7.6.3 GHCOPTS=-Werror
       compiler: ": #GHC 7.6.3"
       addons: {apt: {packages: [cabal-install-1.16,ghc-7.6.3], sources: [hvr-ghc]}}
diff --git a/make_travis_yml.hs b/make_travis_yml.hs
index 91916c499..84c58d0d0 100644
--- a/make_travis_yml.hs
+++ b/make_travis_yml.hs
@@ -90,7 +90,7 @@ genTravisFromCabalFile fn xpkgs = do
         let cvs = disp' (lookupCabVer gv)
             gvs = disp' gv
             ghcopts = if gv >= Version [7,10,0] []
-                         then ""
+                         then "-Werror"
                          else "-Werror"
 
             xpkgs' = concatMap (',':) xpkgs
diff --git a/pandoc.cabal b/pandoc.cabal
index 2c7447706..fcdadb324 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -11,7 +11,7 @@ Bug-Reports:     https://github.com/jgm/pandoc/issues
 Stability:       alpha
 Homepage:        http://pandoc.org
 Category:        Text
-Tested-With:     GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2
+Tested-With:     GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2
 Synopsis:        Conversion between markup formats
 Description:     Pandoc is a Haskell library for converting from one markup
                  format to another, and a command-line tool that uses