| OPTIONS_GHC pragmas allow warnings to be enabled or disabled for a
| particular file, but there are some limitations:
|
|  * It doesn't override command-line settings (being tacked on the start,
| rather than the end, of the options lists, I believe)

I don't think this is right -- or if it is, it's a bug.  The OPTIONS_GHC stuff 
is supposed to override command-line opts

|  * It doesn't work on sections of the code, but rather the whole file.

True, and it'd be great to give more local pragma control -- a good feature 
request.  Someone might want to work out details of the programmer's eye view 
and make a Trac feature request

Simon

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to