Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-09-07 12:05:10


Hi,

I propose following change in numeric_traits_test.cpp to be able
to compile it with Solaris Forte C++ 6 u.1

Gennadiy.

cvs diff numeric_traits_test.cpp
Index: numeric_traits_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/utility/numeric_traits_test.cpp,v
retrieving revision 1.6
diff -r1.6 numeric_traits_test.cpp
217c217
< void test_aux(unsigned_tag, Number* = 0)

---
> void test_aux(unsigned_tag, Number* )
259c259
< void signed_test(in_range_tag, Number* = 0)
---
> void signed_test(in_range_tag, Number* )
272c272,273
<               << "==" << std::dec << stream_number(d2) << "..." << 
std::flush;
---
>               << "==" << std::dec << stream_number(d2) << "...\n" 
<< std::flush;
> 
280c281
< void signed_test(out_of_range_tag, Number* = 0)
---
> void signed_test(out_of_range_tag, Number* )
304c305
< void test_aux(signed_tag, Number* = 0)
---
> void test_aux(signed_tag, Number* )
331c332
<     signed_test<Number>(range_tag());
---
>     signed_test<Number>(range_tag(),0);
361c362
<     test_aux<Number>(signedness());
---
>     test_aux<Number>(signedness(), 0);
377c378
< #if defined(ULLONG_MAX) || defined(ULONG_LONG_MAX)
---
> #if (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX)) && !defined
(__SUNPRO_CC)

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk