Bug#576030: gcc-4.3: wcstoll returns only the value for 32bit.
On Fri, Apr 02, 2010 at 11:32:55AM +0200, Aurelien Jarno wrote: On Wed, Mar 31, 2010 at 11:32:50PM +0900, Hikaru MIYAGI wrote: Package: gcc-4.3 Version: 4.3.2-1.1 Severity: important wcstoll returns only the value for 32bit. For instance, wcstoll(L1, NULL, 16) returns 0 though it is sure to become 4294967296. This is not reproducible here. Are you sure the wcstoll is correctly declared? You can verify that it is correctly declared by compiling with -Wall. If it is not the case, verify that your program should include wchar.h and that you use either use -std=c99 or -D_GNU_SOURCE to compile it. Any news on that? -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#576030: gcc-4.3: wcstoll returns only the value for 32bit.
On Wed, Mar 31, 2010 at 11:32:50PM +0900, Hikaru MIYAGI wrote: Package: gcc-4.3 Version: 4.3.2-1.1 Severity: important wcstoll returns only the value for 32bit. For instance, wcstoll(L1, NULL, 16) returns 0 though it is sure to become 4294967296. This is not reproducible here. Are you sure the wcstoll is correctly declared? You can verify that it is correctly declared by compiling with -Wall. If it is not the case, verify that your program should include wchar.h and that you use either use -std=c99 or -D_GNU_SOURCE to compile it. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#576030: gcc-4.3: wcstoll returns only the value for 32bit.
Package: gcc-4.3 Version: 4.3.2-1.1 Severity: important wcstoll returns only the value for 32bit. For instance, wcstoll(L1, NULL, 16) returns 0 though it is sure to become 4294967296. -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (990, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-miyagipc03 (SMP w/1 CPU core; PREEMPT) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gcc-4.3 depends on: ii binutils2.18.1~cvs20080103-7 The GNU assembler, linker and bina ii cpp-4.3 4.3.2-1.1The GNU C preprocessor ii gcc-4.3-base4.3.2-1.1The GNU Compiler Collection (base ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii libgcc1 1:4.3.2-1.1 GCC support library ii libgomp14.3.2-1.1GCC OpenMP (GOMP) support library Versions of packages gcc-4.3 recommends: ii libc6-dev 2.7-18lenny2 GNU C Library: Development Librari Versions of packages gcc-4.3 suggests: pn gcc-4.3-doc none (no description available) pn gcc-4.3-locales none (no description available) pn gcc-4.3-multilib none (no description available) pn libgcc1-dbg none (no description available) pn libgomp1-dbg none (no description available) pn libmudflap0-4.3-dev none (no description available) pn libmudflap0-dbg none (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org