[PATCH] Math special functions testsuite cleanup

Ed Smith-Rowland 3dw4rd@verizon.net
Wed Aug 3 02:53:00 GMT 2016


On 08/02/2016 09:33 AM, Jonathan Wakely wrote:
> On 02/08/16 14:31 +0100, Jonathan Wakely wrote:
>> This latest set of patches for the testsuite are for the maths special
>> functions.
>>
>> This test for <tr1/cmath> was defining __STDCPP_WANT_MATH_SPEC_FUNCS__
>> so it was testing the functions in namespace std, not std::tr1. I
>> assume that's just a mistake (Ed?) and so have removed it. This allows
>> the test to be run with -std=gnu++98:
>>
>>   Test TR1 special functions without adding them to std
>>       * 
>> testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/
>>       check_value.cc: Do not add special functions to namespace std 
>> in TR1
>>       test.
>
> I forgot to CC Ed for this question
Yes, that's a mistake.
It was needed in both std and std::tr1.
This was a paste-o.
Thanks,
Ed



More information about the Libstdc++ mailing list