summaryrefslogblamecommitdiffstats
path: root/archives/extend/2014-February/000339.html
blob: 35469a916de604e7c8d702165f3607c916d188c5 (plain) (tree)




























































































































                                                                                                                                                                                                                                                   
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [99s-extend] do not treat warnings as errors on make?
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20do%20not%20treat%20warnings%20as%20errors%20on%20make%3F&In-Reply-To=%3CCAD9h6NE5HaNe7-RUUVQehkWGF9uwmLzhTh_J%3DB6mB9ATyPJumQ%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <style type="text/css">
       pre {
           white-space: pre-wrap;       /* css-2.1, curent FF, Opera, Safari */
           }
   </style>
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000338.html">
   
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[99s-extend] do not treat warnings as errors on make?</H1>
    <B>Anton Koval'</B> 
    <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20do%20not%20treat%20warnings%20as%20errors%20on%20make%3F&In-Reply-To=%3CCAD9h6NE5HaNe7-RUUVQehkWGF9uwmLzhTh_J%3DB6mB9ATyPJumQ%40mail.gmail.com%3E"
       TITLE="[99s-extend] do not treat warnings as errors on make?">psihonavt at gmail.com
       </A><BR>
    <I>Mon Feb 10 20:55:24 CET 2014</I>
    <P><UL>
        <LI>Previous message: <A HREF="000338.html">[99s-extend] do not treat warnings as errors on make?
</A></li>
        
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#339">[ date ]</a>
              <a href="thread.html#339">[ thread ]</a>
              <a href="subject.html#339">[ subject ]</a>
              <a href="author.html#339">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Got it! :)
fixed all warnings and removed  ERLC_OPTS from Makefile.


On Mon, Feb 10, 2014 at 9:46 PM, Ivan Uemlianin &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">ivan at llaisdy.com</A>&gt; wrote:

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

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000338.html">[99s-extend] do not treat warnings as errors on make?
</A></li>
	
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#339">[ date ]</a>
              <a href="thread.html#339">[ thread ]</a>
              <a href="subject.html#339">[ subject ]</a>
              <a href="author.html#339">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>