[Mesa-dev] [PATCH] nv50/ra: `isinf()` is in namespace `std` since C++11

Samuel Pitoiset samuel.pitoiset at gmail.com
Fri Mar 18 00:25:20 UTC 2016



On 03/18/2016 01:22 AM, Matt Turner wrote:
> On Thu, Mar 17, 2016 at 5:17 PM, Pierre Moreau <pierre.morrow at free.fr> wrote:
>> This fixes a compile error while building Nouveau with C++11 enabled (and
>> glibc >= 2.23). This happens if SWR is enabled, as it forces C++11.
>
> That seems bad, right?
>
> Enabling OpenSWR should affect how any other drivers are built. Why
> does this happen?

Yes it is.
swr forces use of c++11.

Please have a look at:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=d46feee697671a0815dc8dac4ffb70d1e9142bc2

This is also related to swr, but Vinson probably doesn't have glibc 2.23.

> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list