[GHC] #7456: GHC API displays linker messages to stdout instead of via log_action

GHC ghc-devs at haskell.org
Sun Jun 23 14:14:51 CEST 2013


#7456: GHC API displays linker messages to stdout instead of via log_action
--------------------------------+-------------------------------------------
    Reporter:  MikolajKonarski  |       Owner:  igloo
        Type:  bug              |      Status:  new  
    Priority:  high             |   Milestone:  7.8.1
   Component:  GHC API          |     Version:  7.4.2
    Keywords:                   |          Os:  Linux
Architecture:  x86_64 (amd64)   |     Failure:  Other
  Difficulty:  Unknown          |    Testcase:       
   Blockedby:                   |    Blocking:       
     Related:                   |  
--------------------------------+-------------------------------------------

Comment(by ian@…):

 commit f81e14bb14e459cdd59ea232f7c711827be85dd6
 {{{
 Author: Ian Lynagh <ian at well-typed.com>
 Date:   Sun Jun 23 12:49:42 2013 +0100

     Allow the GHCi messages to be overridden via the GHC API; fixes #7456

     They now go through log_action. The existing severities all used
     printDoc, which always adds a trailing newline, which we don't
     want for the GHCi messages. I therefore added a new severity
     SevInteractive, which doesn't add a newline.

  compiler/ghci/Linker.lhs        |    9 +++++----
  compiler/main/DynFlags.hs       |   13 +++++++++++--
  compiler/main/ErrUtils.lhs      |    1 +
  compiler/main/ErrUtils.lhs-boot |    1 +
  4 files changed, 18 insertions(+), 6 deletions(-)
 }}}

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



More information about the ghc-tickets mailing list