From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25577 invoked by alias); 2 Mar 2004 23:16:22 -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 25570 invoked from network); 2 Mar 2004 23:16:21 -0000 Received: from unknown (HELO cons01.trans.corp) (63.251.178.132) by sources.redhat.com with SMTP; 2 Mar 2004 23:16:21 -0000 Received: from coex01.trans.corp (coex01 [172.18.24.16]) by cons01.trans.corp (Postfix) with ESMTP id 1D81DE5B79 for ; Tue, 2 Mar 2004 16:16:21 -0700 (MST) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Does Cygwin's GCC support 64-bit constants? Date: Tue, 02 Mar 2004 23:16:00 -0000 Message-ID: <0565CAF35FADD64DA09B86C3637BE7292E8C5C@coex01.trans.corp> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Nate Iverson" To: X-SW-Source: 2004-03/txt/msg00021.txt.bz2 I'm getting the following warning message when I try to compile source code= that contains 0xFF00000000000000 as a constant. warning: integer constant is too large for "long" type Cywin's GCC appears to have 64-bit integer support since there are no warni= ngs/errors for uint64_t variables. Below are the gcc details: $ gcc -v Reading specs from /bin/../lib/gcc-lib/i686-pc-cygwin/3.3.1/specs Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld --with= -gnu-as --prefix=3D/usr --exec-prefix=3D/usr --sysconfdir=3D/etc --libdir= =3D/usr/lib --libexecdir=3D/usr/sbin --mandir=3D/usr/share/man --infodir=3D= /usr/share/info --enable-languages=3Dc,ada,c++,f77,pascal,java,objc --enabl= e-libgcj --enable-threads=3Dposix --with-system-zlib --enable-nls --without= -included-gettext --enable-interpreter --enable-sjlj-exceptions --disable-v= ersion-specific-runtime-libs --enable-shared --disable-win32-registry --ena= ble-java-gc=3Dboehm --disable-hash-synchronization --verbose --target=3Di68= 6-pc-cygwin --host=3Di686-pc-cygwin --build=3Di686-pc-cygwin Thread model: posix gcc version 3.3.1 (cygming special) I have also tried to cast the constant (long long)0xFF00000000000000 -- it = didn't change anything. Additionally, I have compiled this on Linux and QNX= with no issues. Any insight is appreciated, Nate