Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=58879
---
On debug builds it is included:
nv50_ir.cpp:23 -> nv50_ir.h:33 -> nv50_ir_util.h:33 -> <typeinfo>
---
 src/gallium/drivers/nv50/codegen/nv50_ir.cpp |    4 ++++
 1 Datei geändert, 4 Zeilen hinzugefügt(+)

diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir.cpp 
b/src/gallium/drivers/nv50/codegen/nv50_ir.cpp
index 335e9e0..0bce2ce 100644
--- a/src/gallium/drivers/nv50/codegen/nv50_ir.cpp
+++ b/src/gallium/drivers/nv50/codegen/nv50_ir.cpp
@@ -24,6 +24,10 @@
 #include "nv50_ir_target.h"
 #include "nv50_ir_driver.h"
 
+#ifdef NDEBUG
+# include <typeinfo>
+#endif 
+
 extern "C" {
 #include "nv50/nv50_program.h"
 #include "nv50/nv50_debug.h"
-- 
1.7.10.4

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to