From owner-freebsd-questions@FreeBSD.ORG Tue Jun 19 16:35:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A55B91065670 for ; Tue, 19 Jun 2012 16:35:50 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy9.bluehost.com (oproxy9.bluehost.com [IPv6:2605:dc00:100:2::a2]) by mx1.freebsd.org (Postfix) with SMTP id 671628FC08 for ; Tue, 19 Jun 2012 16:35:50 +0000 (UTC) Received: (qmail 3739 invoked by uid 0); 19 Jun 2012 16:35:49 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy9.bluehost.com with SMTP; 19 Jun 2012 16:35:49 -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=k7gE68lImBc2lCssnW0sNnO+3Mm/CvTfde7TH4odoL8=; b=a3Aopcg32EDtGyu364XPNtkA4dtN6H8W3zjE2vOC/WebhvZSMii85E3aTzob3JCiw6kUXwuwa8/7Y7w4RiiNC9C3V2K/CL0orkTHSunKCQfv27RBExpL/I1s5hLSeag2; Received: from [24.8.180.234] (port=62062 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Sh1PB-0004pw-BL for freebsd-questions@freebsd.org; Tue, 19 Jun 2012 10:35:49 -0600 Date: Tue, 19 Jun 2012 10:35:49 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20120619163549.GA5561@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201206182014.q5IKEVdQ014212@mail.r-bonomi.com> <20120618210049.GA2508@hemlock.hydra> 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: Tue, 19 Jun 2012 16:35:50 -0000 You should really configure your email client to attribute quoted commentary properly (or, as a first step, at all). On Tue, Jun 19, 2012 at 06:51:00AM +0200, Wojciech Puchar wrote: > >>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. > > or maybe missed. So please tell me finally what is wrong in > measuring speed by measuring time of execution doing same things? > What i should measure? time in heavens? He didn't say anything about your measurement of time being faulty. He said your measurement of size was faulty. > > > >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 > > strange but i don't have a problem - and i always set -Wall when > using gcc as 99% of warnings are actually errors. I guess you're either some kind of rare genius or suffering from Stockholm syndrome. Everyone I've encountered with something to say about warning and error reporting with regard to Clang vs. GCC has remarked about how much nicer it is with Clang. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]