From owner-freebsd-questions@FreeBSD.ORG Mon Jun 18 21:00:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62D371065670 for ; Mon, 18 Jun 2012 21:00:51 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy7-pub.bluehost.com (oproxy7.bluehost.com [IPv6:2605:dc00:100:2::a7]) by mx1.freebsd.org (Postfix) with SMTP id 248E58FC0A for ; Mon, 18 Jun 2012 21:00:51 +0000 (UTC) Received: (qmail 4659 invoked by uid 0); 18 Jun 2012 21:00:50 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy7.bluehost.com with SMTP; 18 Jun 2012 21:00:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=EivkN333sGEm+f6CiNGQj7W7BaTbLnpsGAmwGi0pKno=; b=D+ExI6DdqgLZqhz2B2d5ClMND/jU63rfNzZdFW7hie9ycf7CU2iiqf0O4Cve5av8Cr/KsEop8KcCihxzVbtvHj0wdQV88ev5NGXBevfqk7FzXcZ8Jc+1csB7RmHheggo; Received: from [24.8.180.234] (port=60447 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Sgj45-0008IU-Vn for freebsd-questions@freebsd.org; Mon, 18 Jun 2012 15:00:50 -0600 Date: Mon, 18 Jun 2012 15:00:49 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20120618210049.GA2508@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201206182014.q5IKEVdQ014212@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.com} Subject: Re: Why Clang X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2012 21:00:51 -0000 On Mon, Jun 18, 2012 at 10:30:23PM +0200, Wojciech Puchar wrote: > >>scratch and this resulted with thing 5 times larger, > > > >*YOUR* measurement of sizes was faulty. > > be more exact. I believe Robert Bonomi (you didn't include attribution for the previous email, I notice) *was* more exact, in that the rest of his email explained what he thought of your glossing over the various factors that might contribute to binary size. I notice you ignored most of it in your response, too. > > > >I'm sure that you _also_ are aware that a larger program size does *NOT* > >necessarily mean 'bloat'. > > of course. really i can write programs. > > and really - i don't understand all this fuss about "better error > reporting". > > Really i don't have problems to read gcc error messages when i > compile my programs. I can generally puzzle out what caused various GCC warning and error messages when trying to compile my own code, given comparison of what's going on in the messages with what's going on in my code and reasoning through the connections between different parts of the code. That sort of thing is required probably 70% of the time, in my experience. With Clang, by contrast, I find that's required only about 20% to 30% of the time. Otherwise, the warning and error messages tend to get me a lot closer to the actual point of failure than GCC. *That* is what "all this fuss about 'better error reporting'" is about. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]