#7405: use of -no-hs-main causes TH compiles to fail
-------------------------------+--------------------------------------------
  Reporter:  MtnViewMark       |          Owner:         
      Type:  bug               |         Status:  closed 
  Priority:  normal            |      Milestone:  7.8.1  
 Component:  Template Haskell  |        Version:  7.4.2  
Resolution:  wontfix           |       Keywords:         
        Os:  MacOS X           |   Architecture:  x86    
   Failure:  None/Unknown      |     Difficulty:  Unknown
  Testcase:                    |      Blockedby:         
  Blocking:                    |        Related:         
-------------------------------+--------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 I agree, this isn't something we can/should fix.

 Mark, you could work around the problem by moving the TH module and
 everything below it into a library. Or even moving all the Haskell code
 into a library, and just having the C main as an executable. Cabal
 packages can contain both a library and an executable, so as long as there
 is only one cut point it won't have too much overhead.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7405#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to