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