-
Notifications
You must be signed in to change notification settings - Fork 17
Discussion about the linker messages
Mikolaj edited this page Mar 20, 2013
·
1 revision
- 11:58 < snoyberg> dcoutts_: this one's bugged me forever, is there a way to tell GHC not to print out he "Loading..." messages when compiling TH?
- 11:58 < dcoutts_> snoyberg: I hate that too
- 11:58 < dcoutts_> we need to patch ghc
- 11:59 < snoyberg> i actually wrote a post-processor in "yesod devel" that strips out the messages
- 11:59 < dcoutts_> snoyberg: we bumped into it when we were doing the backend
- 11:59 < snoyberg> right, i remember
- 11:59 < dcoutts_> it's actually not going via the usual message output system
- 11:59 < dcoutts_> and goes straight to stdout (or err, I forget)
- 12:00 < snoyberg> i think stdout
- 12:00 < dcoutts_> snoyberg: so we'd be quite happy to spend an hour or two fixing that one to make it use the normal output mechanism (and to turn down the default verbosity)
- 12:01 < snoyberg> i'm guessing that that message doesn't get included in the errors specifically because it goes via a different output system?
- 12:01 < dcoutts_> right
- 12:02 < dcoutts_> and we go to some lengths to stop it appearing on stdout
- 12:02 < snoyberg> since it's going to make all our lives easier, and it's going to clean up an ugly part of the code, i'd say go for it
- 12:02 < dcoutts_> ok
- 12:12 < edsko> dcoutts, snoyberg: mind that we already suppress some of this output through a hack (redirecting stdout to /dev/null). fixing this would mean we can get rid of that, too
- 12:13 < dcoutts_> edsko: right