[PATCH 03/13] RFC: ldbl-128ibm-compat: workaround C++ redirect limitations

Tulio Magno Quites Machado Filho tuliom@ascii.art.br
Tue Mar 24 20:30:00 GMT 2020


"Paul E. Murphy" <murphyp@linux.vnet.ibm.com> writes:

> GCC 8+ is more pedantic about type checking the redirect declarations
> for non-system headers.  I am not sure if there is less obtrusive way
> to dodge these warnings when building C++ tests using the headers from
> the glibc under construction.
>
> Does a better option than explicitly specifying these headers via
> the #pragma GCC system_header?

I'm afraid -isystem is not an option in this case as it could change the
lookup order.  In other words: I don't have a better option than
what you proposed.

-- 
Tulio Magno


More information about the Libc-alpha mailing list