Movatterモバイル変換
[0]ホーム
This is the mail archive of thelibc-alpha@sourceware.orgmailing list for theglibc project.
Re: Obsolete matherr, _LIB_VERSION, libieee.a
On 08/24/2017 07:20 PM, Steve Ellcey wrote:> -#undef _LIB_VERSION> +> +#if TEST_COMPAT (libm, GLIBC_2_0, GLIBC_2_27)> +> +# undef matherr> +# undef _LIB_VERSION> compat_symbol_reference (libm, matherr, matherr, GLIBC_2_0);> compat_symbol_reference (libm, _LIB_VERSION, _LIB_VERSION, GLIBC_2_0);> > @@ -45,5 +48,12 @@ do_test (void)> acos (2.0);> return fail;> }> +#else> +static int> +do_test (void)> +{> + return 0;> +}> +#endifDoes the fail to compile, or does it fail to link?Maybe it is possible to make this slightly more regular. Although theexpansion of compat_symbol_reference is difficult to remove because GCCdoes not see it, so it is not optimized away.Thanks,Florian
[8]ページ先頭