X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1411514326; bh=MxEXByrOy4PIyUsQNCmRnZx5xCIruTXCZDlbhYW+PT0=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=I3Tui/y4+JNa5uqgvP+xUsPD69+UUjJyK9G7R6LTE570PbnoizSiQYpufUfsjtrQLr3OOzXfX70qW9B4I3wFFxL7zMpxbmK2mF36DnjIMDcG3eGJiIemw1B/LDI0hjqbHnexdEwqSKKF/BjsT/N18DQHExZHxh2b1LTOCxlRsG8= X-Yahoo-Newman-Id: 685570 DOT 4000 DOT bm AT smtp116 DOT sbc DOT mail DOT gq1 DOT yahoo DOT com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: O.ctXYYVM1k0DHmhL186KfOaM_syWeBJCX3OS5iCf9FD0.M QVHTy7zX5eS5ZNuuFbcBwGKhoTImMRvusrazyKAR.WUh5QWgNDytXU6lQFbf MavJr8B2pHHAXx6YuX5MC7uhHgWzsYLEKePe8S5fRS6l0IpYUO91.OAdA0YJ o7mkqE7MynFLRaCjLtKc_WHo8vNLUzMl4W7lE4O9vY8WjB1vvpU0txCc6GFC 8Qzh4aRGlrql7H7fMXs6uRMH5dI16tN1CRTld2Ot3dVSKPCfhMpgEhI.AGxF bTaKcy801rfi.krZ9PcJuXJ2TeXdEqi0dFUNkwDKT2XYrGtYnDzOb8dsvbTW sZqIsM7MKFCY4yIEr0PtKfnoUKLzvPjqIH7hRCNT5GK0W52zrVVWmYw0sQqd ceX09eNMuPpWV79Wzp7uc2Aa.vIkedBKYdn22dXASR3z3b_34.ChcOLkJaX0 ZpO1.thnaLhDS4ML6j8biXVyVB.I89zfe6xBN_eS15fy6aFdQH8BSdGtRkJb nnz8FLDtUyJ4_OO1DPDHReQk__spC5m1yrPxIhLOVAuQkNEt6zYo- X-Yahoo-SMTP: f_DTt3mswBBgAkQlHvfWr7fedPivEj8lM_i1QPTGLa1z0f7XFiw- X-Rocket-Received: from [192.168.2.43] (girvin DOT herr AT 75 DOT 0 DOT 9 DOT 115 with plain [67.195.15.5]) by smtp116.sbc.mail.gq1.yahoo.com with SMTP; 23 Sep 2014 23:18:46 +0000 UTC Message-ID: <5421FF2E.4010709@sbcglobal.net> Date: Tue, 23 Sep 2014 16:15:58 -0700 From: Girvin Herr User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20131204 Thunderbird/17.0.11 MIME-Version: 1.0 To: geda-user AT delorie DOT com CC: Kai-Martin Knaak Subject: Re: [geda-user] Banging my head against the guile-for-windows wall References: <20140923045453 DOT 56dc3de2 AT akka> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com On 09/23/2014 03:39 PM, Kai-Martin Knaak wrote: > Bob Paddock wrote: > >> Warnings *are* errors, they should not be ignored. >> >> I have found it rare for most GCC based code to compile with >> anything less than -std=gnu99. >> >> Rather than disable Werror, remove the -ansi and possibly the >> -pedantic, add -std=gnu99. >> > Fair enough. > To see this amount of warnings in code that is supposed to be the part > of the backbone of the GNU suite is a bit disconnecting, though. This > interpreter was started by gnu-gurus twenty years ago. I'd expect them > to have ironed out this kind of wrinkles long time ago. But who am I > to judge? After all, I wouldn't complain about warnings at all, if the > result would just run... > > ---<)kaimartin(>--- > > I have a software and hardware background and I treat warnings the same as errors. The compiler generates a warning when it can't decide if the programmer really wanted it coded that way or they are real errors. Therefor, warnings are red flags to programmers to look real hard at the code to confirm that it will, indeed, run fine with that warned code, or is it a real error that needs fixing. So, your experience with code that has compilation warnings could be that the programmer has decided those warnings were okay. In my case, my released code has no warnings - period. If I get a warning but I decide the code should work properly, I change the code to satisfy the compiler, not let it go. Yes, I have seen released code that still has warnings, but I cringe when I see it and am very reluctant to run it on my computer because it reflects on the programmer's quality. If there are warnings, what other, worse bugs are in there? Sometimes I have no choice but to accept it, especially if I have no time to dig into the code to fix it. Girvin Herr