[Haskell-beginners] I can't turn-off conreate warning

Baa aquagnu at gmail.com
Mon Jul 24 12:24:57 UTC 2017


Ohh, pardon :)
My error:  seems that `-fno-warn-orphans` works. Not -W but -f :-)


> Hi,
> 
> Maybe with -Wno-orphans
> 
> https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/using-warnings.html?#ghc-flag--Worphans
> 
> Regards,
> Sylvain
> 
> 
> On 24/07/2017 13:58, Baa wrote:
> > Hello, Dear List!
> >
> > I want to turn-off concreate warning (but to have all other, and
> > possible to treat them as errors). This warning is about orphans
> > instances. I tried:
> >
> >    -Wall -Werror -Wno-warn-orphans
> >
> > also
> >
> >    -Wall -Werror -Wno-warn-warn-orphans
> >
> > But GHC does not understand this option. How to achieve this?
> >
> >
> > --
> > Best regards, Paul
> > _______________________________________________
> > Beginners mailing list
> > Beginners at haskell.org
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners  
> 
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners



More information about the Beginners mailing list