projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
36cef1e
)
fix warning
author
Simon Marlow
<marlowsd@gmail.com>
Wed, 13 May 2009 10:16:49 +0000
(10:16 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Wed, 13 May 2009 10:16:49 +0000
(10:16 +0000)
compiler/main/DriverPipeline.hs
patch
|
blob
|
history
diff --git
a/compiler/main/DriverPipeline.hs
b/compiler/main/DriverPipeline.hs
index
973495e
..
9115afa
100644
(file)
--- a/
compiler/main/DriverPipeline.hs
+++ b/
compiler/main/DriverPipeline.hs
@@
-301,8
+301,10
@@
link LinkBinary dflags batch_attempt_linking hpt
link LinkDynLib dflags batch_attempt_linking hpt
= link' dflags batch_attempt_linking hpt
link LinkDynLib dflags batch_attempt_linking hpt
= link' dflags batch_attempt_linking hpt
+#ifndef GHCI
-- warning suppression
link other _ _ _ = panicBadLink other
-- warning suppression
link other _ _ _ = panicBadLink other
+#endif
panicBadLink :: GhcLink -> a
panicBadLink other = panic ("link: GHC not built to link this way: " ++
panicBadLink :: GhcLink -> a
panicBadLink other = panic ("link: GHC not built to link this way: " ++