Skip to content

Remove CallStack CPP guards in GHC 8.4

GHC 7.10.1 didn't support CallStack, while its successors did. Yet in post-8.0 master (which needs to be buildable with the 7.10 series, including 7.10.1) references to CallStack have begun to sneak in to GHC.

The first instance of this was 9d33adb6 but there will likely be more. I've fixed in this instance in D1812 by adding #if guards. These should be removed in GHC 8.2.

Trac metadata
Trac field Value
Version 7.10.3
Type Task
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Edited by Ben Gamari
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information