Warning about unrecognised pragma

Ian Lynagh igloo at earth.li
Fri Mar 6 14:28:07 EST 2009

Hi Colin,

On Thu, Feb 05, 2009 at 11:27:05AM +0000, Colin Paul Adams wrote:
> I am getting messages:
> Board_representation.hs:407:0: Unrecognised pragma
> Board_representation.hs:442:0: Unrecognised pragma
> Board_representation.hs:458:0: Unrecognised pragma
> I looked into the documentation to see how to supress these warnings
> (prefereably for the particular pragma concerned), but I found (from 8.13):
> any pragma encountered with an unrecognised word is (silently) ignored.

I've fixed the documentation now, but can I ask what pragmas these are?
If they're something common then we should teach GHC to ignore them.


More information about the Glasgow-haskell-users mailing list