From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Kvosm-0000N3-MQ for garchives@archives.gentoo.org; Fri, 31 Oct 2008 07:57:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2820BE00EC; Fri, 31 Oct 2008 07:57:20 +0000 (UTC) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 02818E00E7 for ; Fri, 31 Oct 2008 07:57:19 +0000 (UTC) Received: by el-out-1112.google.com with SMTP id z25so573399ele.1 for ; Fri, 31 Oct 2008 00:57:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=eNkm0eT+1F2V9yK+lp8z4jVu7PRWvtEY2qovSjym3Uc=; b=XSVTxIuZ6IR2RznxcmcRnMwFduQp6EQAMaDfSMc11N6dvzNE4rW8n4YlvZwCKgh6EH vBd8hfYzlGg3Q1QxOAoJ+YydGOOd+4P3CE55WqAvNkJLtqD1hz9BtjHFlmEv4jBsJm5k tGD8vozvteXZFiS4JzeqOGdNe1I+nVICFLfoo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=pwU6WkvB//koFmEivWbEx9fL6wqIxEvjBuEPULjEPALtY2yryUJHL729/pZ8fdpzwx elXKxL2PCwdcjffK09BfzpGCH+pu+fXyUR4D60I26SUVw7N0+px1PJYllVthV6YSpilf 982rNHu/deKe9iL4XGC7Gjgm4CCMsPZwFsobo= Received: by 10.151.45.2 with SMTP id x2mr12504529ybj.88.1225439838378; Fri, 31 Oct 2008 00:57:18 -0700 (PDT) Received: by 10.151.117.17 with HTTP; Fri, 31 Oct 2008 00:57:18 -0700 (PDT) Message-ID: <79e3aefb0810310057o33cf0360p46d73ec5e7d6a4ef@mail.gmail.com> Date: Fri, 31 Oct 2008 09:57:18 +0200 From: "Dirk Uys" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] package.keywords syntax? In-Reply-To: <38af3d670810301212v48d9be27tcab6cd45480eabf3@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810290041.39256.alan.mckinnon@gmail.com> <38af3d670810281555j43a2c0dfl990860eb9b85921b@mail.gmail.com> <200810290916.29649.alan.mckinnon@gmail.com> <38af3d670810291313p7937d68ei55d2b6ff9b9df6ad@mail.gmail.com> <79e3aefb0810300346m19d36196x4f3ec748f6a14be3@mail.gmail.com> <38af3d670810301212v48d9be27tcab6cd45480eabf3@mail.gmail.com> X-Archives-Salt: 091e00ed-562b-42c6-ac7d-ea9195e80be2 X-Archives-Hash: 0f8ba48a8ae5b6fce25dd328aefa3da4 On Thu, Oct 30, 2008 at 9:12 PM, Jorge Peixoto de Morais Neto wrote: > It seems you did not get the point. To attribute a floating point > number to an integer variable is perfectly valid, depending on the > specific program. The compiler normally does not even warn about > this, as this is perfectly valid (from my testing, the compiler only > warns if you are using gcc 4.3, and specify -Wconversion, an option > that is not included in -Wall and not even in -Wextra). Yes, you are right. I was doing what some people would like to call speaking out of my ass :) C++ compiled with gcc does give you a warning with -Wall. I just assumed that C did the same, its been some time since I coded pure C. Regards Dirk