local array numbers[] made static - this is an attempt to fix a CW 8.3 error

[SVN r22996]
This commit is contained in:
Gennaro Prota
2004-06-02 08:30:53 +00:00
parent 31f06cc395
commit 4fe6bbdbed

View File

@@ -58,7 +58,7 @@ void run_test_cases( BOOST_EXPLICIT_TEMPLATE_TYPE(Block) )
const std::size_t ulong_width = std::numeric_limits<unsigned long>::digits;
const unsigned long ulong_max =(std::numeric_limits<unsigned long>::max)();
unsigned long numbers[] = { 0, 1, 40247, ulong_max >> 1, ulong_max };
static unsigned long numbers[] = { 0, 1, 40247, ulong_max >> 1, ulong_max };
const std::size_t array_count = sizeof(numbers) / sizeof(numbers[0]);
for (std::size_t i = 0; i < array_count; ++i) {