From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9530 invoked by alias); 17 Jun 2004 22:40:21 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 9499 invoked from network); 17 Jun 2004 22:40:20 -0000 Received: from unknown (HELO ns1.u-strasbg.fr) (130.79.200.1) by sourceware.org with SMTP; 17 Jun 2004 22:40:20 -0000 Received: from math.u-strasbg.fr (math.u-strasbg.fr [130.79.4.9]) by ns1.u-strasbg.fr (8.12.9p2/jtpda-5.4) with ESMTP id i5HMeJdg026455 for ; Fri, 18 Jun 2004 00:40:19 +0200 (CEST) Received: from irmasrv2 (irmasrv2 [130.79.4.9]) by math.u-strasbg.fr (8.11.6+Sun/8.10.2) with ESMTP id i5HMeJT27879 for ; Fri, 18 Jun 2004 00:40:19 +0200 (MEST) Date: Thu, 17 Jun 2004 22:40:00 -0000 From: Vincent Torri X-Sender: torri@irmasrv2 To: gcc-help@gcc.gnu.org Subject: long long constant Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Antivirus: scanned by sophos at u-strasbg.fr X-SW-Source: 2004-06/txt/msg00176.txt.bz2 Hello i have experienced weird behavior with the initialization of a constant : static long long const rounder = 0x0000400000004000; on gcc 2.96, no error or warning on gcc 3.3.1 or 3.3.2 or 3.3.4 there's a warning or an error If i change the initialization above by static long long const rounder = 0x0000400000004000LL; it works could someone explain me why ? espacially, is there some known problems with initializing lonng constants with gcc 3.3.x ? Thank you Vincent TORRI