#2597: panic! (the 'impossible' happened) (using TH)
------------------------------+---------------------------------------------
 Reporter:  jcab              |          Owner:         
     Type:  bug               |         Status:  new    
 Priority:  normal            |      Milestone:         
Component:  Template Haskell  |        Version:  6.8.3  
 Severity:  major             |     Resolution:         
 Keywords:                    |     Difficulty:  Unknown
 Testcase:                    |   Architecture:  x86    
       Os:  Windows           |  
------------------------------+---------------------------------------------
Changes (by simonpj):

  * difficulty:  => Unknown

Comment:

 The good news is that things are better with the HEAD, as you see below.

 But I have no idea what the "Failing due to -Werror" is about, since I
 hvae not specified `-Werror`.  Ian, Simon, any ideas?

 Simon

 {{{
 c:/darcs/HEAD/ghc/stage2-inplace/ghc --make kk.hs -fglasgow-exts -fallow-
 undecidable-instances -fallow-overlapping-instances -fno-monomorphism-
 restriction -threaded -lKernel32 -lUser32 -lGdi32 -lOle32 -lComctl32
 -optc-D_WIN32_IE=0x700 -optc-D_WIN32_WINNT=0x600 -ilib -odir obj -hidir
 obj -stubdir obj

 on the commandline:
     Warning: -fallow-undecidable-instances is deprecated: use
 -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances#-}
 instead

 on the commandline:
     Warning: -fallow-overlapping-instances is deprecated: use
 -XOverlappingInstances or pragma {-# LANGUAGE OverlappingInstances#-}
 instead

 on the commandline:
     Warning: -fno-monomorphism-restriction is deprecated: use
 -XNoMonomorphismRestriction or pragma {-# LANGUAGE
 NoMonomorphismRestriction#-} instead

 kk.hs:1:11:
     Warning: -fth is deprecated: use -XTemplateHaskell or pragma {-#
 LANGUAGE TemplateHaskell#-} instead

 lib\JCAB\TH.hs:1:11:
     Warning: -fth is deprecated: use -XTemplateHaskell or pragma {-#
 LANGUAGE TemplateHaskell#-} instead

 lib\Win32\System\TH.hs:1:11:
     Warning: -fth is deprecated: use -XTemplateHaskell or pragma {-#
 LANGUAGE TemplateHaskell#-} instead
 [4 of 4] Compiling Main             ( kk.hs, obj\Main.o )
 Loading package ghc-prim ... linking ... done.
 Loading package integer ... linking ... done.
 Loading package base ... linking ... done.
 Loading object (dynamic) Kernel32 ... done
 Loading object (dynamic) User32 ... done
 Loading object (dynamic) Gdi32 ... done
 Loading object (dynamic) Ole32 ... done
 Loading object (dynamic) Comctl32 ... done
 final link ... done
 Loading package syb ... linking ... done.
 Loading package array-0.1 ... linking ... done.
 Loading package packedstring-0.1 ... linking ... done.

 <no location info>:
 Failing due to -Werror.

 Loading package containers-0.1 ... linking ... done.
 Loading package pretty-1.0 ... linking ... done.
 Loading package template-haskell ... linking ... done.
 Loading package mtl-1.1.0.1 ... linking ... done.
 make: *** [default] Error 1
 bash-3.2$
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2597#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to