Skip to content
Snippets Groups Projects
Commit f189dfe9 authored by Chih-Wei Huang's avatar Chih-Wei Huang
Browse files

mesa: fix compiling issues with gcc 4.4.x

Gcc 4.4 requires a class with virtual functions has to
define the virtual destructor.
parent d1ccafa5
No related merge requests found
......@@ -129,6 +129,7 @@ protected:
* be created.
*/
ast_node(void);
virtual ~ast_node() {}
};
......
......@@ -131,6 +131,7 @@ protected:
ir_type = ir_type_unset;
type = NULL;
}
virtual ~ir_instruction() {}
};
......
......@@ -77,6 +77,7 @@ enum ir_visitor_status {
class ir_hierarchical_visitor {
public:
ir_hierarchical_visitor();
virtual ~ir_hierarchical_visitor() {}
/**
* \name Visit methods for leaf-node classes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment