Index: src/SynTree/Statement.cc
===================================================================
--- src/SynTree/Statement.cc	(revision 67cf18c3e5b8ae6e923fa93e69357ba5e746bf57)
+++ src/SynTree/Statement.cc	(revision b3c36f41fb2d199b6fa2a40962f5aafe79f7ceeb)
@@ -30,5 +30,5 @@
 Statement::Statement( std::list<Label> _labels ) : labels( _labels ) {}
 
-void Statement::print( std::ostream &, int indent ) const {}
+void Statement::print( __attribute__((unused)) std::ostream &, __attribute__((unused)) int indent ) const {}
 
 Statement::~Statement() {}
@@ -365,5 +365,5 @@
 NullStmt::NullStmt() : CompoundStmt( std::list<Label>() ) {}
 
-void NullStmt::print( std::ostream &os, int indent ) const {
+void NullStmt::print( std::ostream &os, __attribute__((unused)) int indent ) const {
 	os << "Null Statement" << endl ;
 }
Index: src/SynTree/Type.h
===================================================================
--- src/SynTree/Type.h	(revision 67cf18c3e5b8ae6e923fa93e69357ba5e746bf57)
+++ src/SynTree/Type.h	(revision b3c36f41fb2d199b6fa2a40962f5aafe79f7ceeb)
@@ -334,5 +334,5 @@
 	virtual void print( std::ostream & os, int indent = 0 ) const;
 
-	virtual void lookup( const std::string & name, std::list< Declaration* > & foundDecls ) const {}
+	virtual void lookup( __attribute__((unused)) const std::string & name, __attribute__((unused)) std::list< Declaration* > & foundDecls ) const {}
   protected:
 	virtual std::string typeString() const = 0;
Index: src/SynTree/Visitor.cc
===================================================================
--- src/SynTree/Visitor.cc	(revision 67cf18c3e5b8ae6e923fa93e69357ba5e746bf57)
+++ src/SynTree/Visitor.cc	(revision b3c36f41fb2d199b6fa2a40962f5aafe79f7ceeb)
@@ -122,5 +122,5 @@
 }
 
-void Visitor::visit( BranchStmt *branchStmt ) {
+void Visitor::visit( __attribute__((unused)) BranchStmt *branchStmt ) {
 }
 
@@ -143,5 +143,5 @@
 }
 
-void Visitor::visit( NullStmt *nullStmt ) {
+void Visitor::visit( __attribute__((unused)) NullStmt *nullStmt ) {
 }
 
@@ -445,8 +445,8 @@
 
 
-void Visitor::visit( Subrange *subrange ) {}
-
-
-void Visitor::visit( Constant *constant ) {}
+void Visitor::visit( __attribute__((unused)) Subrange *subrange ) {}
+
+
+void Visitor::visit( __attribute__((unused)) Constant *constant ) {}
 // Local Variables: //
 // tab-width: 4 //
