Bad location info for flag warnings
When compiling program which uses parallel arrays with {-# OPTIONS -fparr #-}, head GHC emits warning:
Warning: -fparr is deprecated: Use the PArr language instead.
The solution is to use -XPArr or {-# LANGUAGE PArr #-} instead, which is not evident from the warning message.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.9 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |
Edited by Simon Peyton Jones