I saw those warnings few weeks ago when I updated to GCC6 as well (but
was lazy to fix them). Thanks.
Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
On 06/29/2016 02:38 PM, Hans de Goede wrote:
Signed-off-by: Hans de Goede <hdego...@redhat.com>
---
src/gallium/drivers/nouveau/codegen/nv50_ir_util.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_util.h
b/src/gallium/drivers/nouveau/codegen/nv50_ir_util.h
index 7b0de85..c619499 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_util.h
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_util.h
@@ -94,7 +94,11 @@ public:
virtual void reset() { assert(0); } // only for graph iterators
};
+#if __cplusplus >= 201103L
+typedef std::unique_ptr<Iterator> IteratorRef;
+#else
typedef std::auto_ptr<Iterator> IteratorRef;
+#endif
class ManipIterator : public Iterator
{
--
-Samuel
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev