|
Boost : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2006-02-01 12:02:59
>>>> unit_test_parameters.ipp
>>>>
>>>> // const_string rs_str = retrieve_framework_parameter(
>>>> RANDOM_SEED, argc, argv );
>>>> // s_random_seed = rs_str.is_empty() ? 0 :
>>>> lexical_cast<unsigned int>( rs_str );
> [...]
>> fix is and maybe its not worth fixing for this "corner case". It
>> was odd to
>> me that this code got included in the library
>
> Why is it odd? Requests for random test case order was quite popular.
> And I do not see anything "corner case" like in faulty code.
What I meant was that I link with test_execution_monitor. I surprised
to see this depend on unit_test_.... . Its not a criticism - I just made
presumptions
from the names of things. The real problem is the commeau pre-linker
complains
when the same template instantiation is found in two different librariies.
That's
what I meant to characterise as a "special case". I just worked around
this by commenting out the above code - I have no idea what the best
way to fix this is - or even if its worth spending any time on.
Robert Ramey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk