[Haskell-beginners] I can't turn-off conreate warning
Sylvain Henry
sylvain at haskus.fr
Mon Jul 24 13:50:06 UTC 2017
Quoting the manual:
> To turn off any warning, simply give the corresponding -Wno-...
option on the command line. For backwards compatibility with GHC
versions prior to 8.0, all these warnings can still be controlled with
-f(no-)warn-* instead of -W(no-)*.
On 24/07/2017 14:24, Baa wrote:
> 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
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
More information about the Beginners
mailing list