Commit 1eee2746 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix validate with tables-next-to-code off

parent 2304a362
...@@ -6,6 +6,13 @@ ByteCodeItbls: Generate infotables for interpreter-made bytecodes ...@@ -6,6 +6,13 @@ ByteCodeItbls: Generate infotables for interpreter-made bytecodes
\begin{code} \begin{code}
{-# OPTIONS -optc-DNON_POSIX_SOURCE #-} {-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
#ifndef GHCI_TABLES_NEXT_TO_CODE
{-# OPTIONS_GHC -Wwarn #-}
-- There are lots of warnings when GHCI_TABLES_NEXT_TO_CODE is off.
-- It would be nice to fix this properly, but for now we turn -Werror
-- off.
#endif
module ByteCodeItbls ( ItblEnv, ItblPtr(..), itblCode, mkITbls module ByteCodeItbls ( ItblEnv, ItblPtr(..), itblCode, mkITbls
, StgInfoTable(..) , StgInfoTable(..)
) where ) where
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment