Using -fcontext-stackXX in an OPTIONS pragma

5 Apr
2004
5 Apr
'04
8:43 a.m.
Hi! I am currently trying to use GHC 6.2 together with the OPTIONS pragma. My program is generating files and needs to set the context stack differently for different files. I try to do this using the OPTIONS pragma, by having this line at the top of my files: {-# OPTIONS -fglasgow-exts -fcontext-stackXX #-} (where XX is some generated number) However, compiling this gives me an error: Test.hs: unknown flags in {-# OPTIONS #-} pragma: -fcontext-stack60 Is it supposed to be possible to set the context stack using the OPTIONS pragma, and if so, what am I missing? /Anders
7716
Age (days ago)
7716
Last active (days ago)
0 comments
1 participants
participants (1)
-
Anders Höckersten