From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24165 invoked by alias); 19 Aug 2008 08:38:55 -0000 Received: (qmail 24156 invoked by uid 22791); 19 Aug 2008 08:38:54 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 19 Aug 2008 08:38:20 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m7J8cIUZ029242; Tue, 19 Aug 2008 04:38:18 -0400 Received: from zebedee.pink (vpn-12-59.rdu.redhat.com [10.11.12.59]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m7J8cFOH031505; Tue, 19 Aug 2008 04:38:16 -0400 Message-ID: <48AA8677.10609@redhat.com> Date: Tue, 19 Aug 2008 08:42:00 -0000 From: Andrew Haley User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Wesley Smith CC: GCC-help Subject: Re: error losing precision on 64bit system References: <1079b050808181556j58aea2ay84b7af44febc2c66@mail.gmail.com> In-Reply-To: <1079b050808181556j58aea2ay84b7af44febc2c66@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00165.txt.bz2 Wesley Smith wrote: > Is there a way to disable or work around the cast from x to y loses > precision error under gcc 4.2.3? what I'm doing is definitely safe > but on 64bit systems, I get loads of compilation errors that I need to > solve. What do you mean, exactly? I'm not aware of any such error. There is a warning, but I think it's optional. Amdrew.