This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
include/g++/hashtable.h
- To: egcs-bugs at cygnus dot com
- Subject: include/g++/hashtable.h
- From: Fred Richardson <frichard at bbn dot com>
- Date: Thu, 30 Oct 1997 11:09:37 -0500
- Reply-to: frichard at bbn dot com
I get the following warning flagged:
include/g++/hashtable.h:190: warning: decimal integer constant is so large that it is unsigned
Here's a patch with one way of fixing it. I don't know if this is the
correct way, though:
*** include/g++/hashtable.h Thu Oct 30 11:05:59 1997
--- include/g++/hashtable.h.~1~ Thu Oct 30 04:01:18 1997
***************
*** 183,192 ****
static const unsigned long __stl_prime_list[__stl_num_primes] =
{
! 53UL, 97UL, 193UL, 389UL, 769UL,
! 1543UL, 3079UL, 6151UL, 12289UL, 24593UL,
! 49157UL, 98317UL, 196613UL, 393241UL, 786433UL,
! 1572869UL, 3145739UL, 6291469UL, 12582917UL, 25165843UL,
! 50331653UL, 100663319UL, 201326611UL, 402653189UL, 805306457UL,
! 1610612741UL, 3221225473UL, 4294967291UL
};
--- 183,192 ----
static const unsigned long __stl_prime_list[__stl_num_primes] =
{
! 53, 97, 193, 389, 769,
! 1543, 3079, 6151, 12289, 24593,
! 49157, 98317, 196613, 393241, 786433,
! 1572869, 3145739, 6291469, 12582917, 25165843,
! 50331653, 100663319, 201326611, 402653189, 805306457,
! 1610612741, 3221225473, 4294967291
};