Index: src/CodeGen/CodeGenerator.cc
===================================================================
--- src/CodeGen/CodeGenerator.cc	(revision c198b6947597fabe47d8cee58f7e24f1f73cb253)
+++ src/CodeGen/CodeGenerator.cc	(revision 70a1c3aed5e5b84a329ddc71a02c60806fd80216)
@@ -129,8 +129,8 @@
 	}
 
-	void CodeGenerator::genAttributes( list< Attribute * > & attributes ) {
+	void CodeGenerator::genAttributes( vector< Attribute * > & attributes ) {
 	  if ( attributes.empty() ) return;
 		output << "__attribute__ ((";
-		for ( list< Attribute * >::iterator attr( attributes.begin() );; ) {
+		for ( vector< Attribute * >::iterator attr( attributes.begin() );; ) {
 			output << (*attr)->name;
 			if ( ! (*attr)->parameters.empty() ) {
Index: src/CodeGen/CodeGenerator.h
===================================================================
--- src/CodeGen/CodeGenerator.h	(revision c198b6947597fabe47d8cee58f7e24f1f73cb253)
+++ src/CodeGen/CodeGenerator.h	(revision 70a1c3aed5e5b84a329ddc71a02c60806fd80216)
@@ -118,5 +118,5 @@
 		void postvisit( ImplicitCtorDtorStmt * );
 
-		void genAttributes( std::list< Attribute * > & attributes );
+		void genAttributes( std::vector< Attribute * > & attributes );
 
 		template< class Iterator > void genCommaList( Iterator begin, Iterator end );
