[99s-extend] do not treat warnings as errors on make?

Anton Koval' psihonavt at gmail.com
Mon Feb 10 20:55:24 CET 2014


Got it! :)
fixed all warnings and removed  ERLC_OPTS from Makefile.


On Mon, Feb 10, 2014 at 9:46 PM, Ivan Uemlianin <ivan at llaisdy.com> wrote:

> I promise you, improving the code now to get rid of the warnings is worth
> it.
>
> Ivan
>
> --
> festina lente
>
>
> On 10 Feb 2014, at 19:22, "Anton Koval'" <psihonavt at gmail.com> wrote:
>
> Thanks for explanation.
> My situation: I'm developing some stuff in module. That module in some
> kind of "draft' state (e.g. some functions are unused), but regardless that
> I want to compile project in order to test some specific parts of that
> module.
>
>
> On Mon, Feb 10, 2014 at 8:48 PM, Loïc Hoguin <essen at ninenines.eu> wrote:
>
>> You can just define ERLC_OPTS before you include erlang.mk and it'll use
>> that instead. I'm not sure why you want to disable that though, warnings
>> usually alert you of bugs in your code.
>>
>>
>> On 02/10/2014 07:44 PM, Anton Koval' wrote:
>>
>>> Hello,
>>>
>>> as I understand, by default `make all` performs compile with
>>> option**warnings_as_errors.**How can I disable this option?
>>>
>>> There are options described at
>>> https://github.com/extend/erlang.mk#options and I believe that
>>> |ERLC_OPTS should be filled with `-|warnings_as_errors`**. But it is
>>>
>>> unclear for me where have I to add(put) that option?
>>>
>>> Thanks.
>>>
>>>
>>> _______________________________________________
>>> Extend mailing list
>>> Extend at lists.ninenines.eu
>>> https://lists.ninenines.eu/listinfo/extend
>>>
>>>
>> --
>> Loïc Hoguin
>> http://ninenines.eu
>>
>
> _______________________________________________
> Extend mailing list
> Extend at lists.ninenines.eu
> https://lists.ninenines.eu/listinfo/extend
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ninenines.eu/archives/extend/attachments/20140210/fa72e2ba/attachment.html>


More information about the Extend mailing list