On Thu, Nov 5, 2015 at 8:17 AM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > From: Emil Velikov <emil.veli...@collabora.co.uk> > > Just fold the brw_type_for_base_type() and use a delegated > constructor. > > Note this is a c++11 feature and the compiler will warn us if it's > set/defaults to an earlier version of the standard. > > XXX: Should we just toggle c++11 on ? We seem to be using some of its > functionality already (anonymous unions) and we could even simplify > gallium/nouveau a bit.
I said anonymous unions were a C11 (not C++11) feature and a language extension supported by gcc and clang. I have no idea if it's C++11 and it's not reason to claim we're already using C++11. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev