Fix GCC compilation issues - Bug 2956 GCC_SURGE
authorWilliam Roberts <williamr@symbian.org>
Tue, 15 Jun 2010 14:45:44 +0100
branchGCC_SURGE
changeset 36 1ff291ad36ba
parent 33 99323845c621
child 37 58ccf230e26b
Fix GCC compilation issues - Bug 2956
fotaapplication/fotaserver/FotaServer/src/fotaupdate.cpp
policymanagement/policyengine/policyengineclient/src/Contexts.cpp
policymanagement/policyengine/policyengineserver/src/PolicyProcessor.cpp
--- a/fotaapplication/fotaserver/FotaServer/src/fotaupdate.cpp	Fri Jun 11 16:26:29 2010 +0100
+++ b/fotaapplication/fotaserver/FotaServer/src/fotaupdate.cpp	Tue Jun 15 14:45:44 2010 +0100
@@ -1681,7 +1681,10 @@
             TDateTime  dtm = sc_duetime.GetLocalTime().DateTime();
             FLOG(_L("   schedule duetime:%d:%d"), dtm.Hour(), dtm.Minute());
 
-            if ( err ) FLOG(_L("     schedule  sc get err %d"),err);
+            if ( err ) 
+                {
+                FLOG(_L("     schedule  sc get err %d"),err);
+                }
             else 
                 {
                 for ( TInt k=0; k<sc_entries->Count();++k)
--- a/policymanagement/policyengine/policyengineclient/src/Contexts.cpp	Fri Jun 11 16:26:29 2010 +0100
+++ b/policymanagement/policyengine/policyengineclient/src/Contexts.cpp	Tue Jun 15 14:45:44 2010 +0100
@@ -311,7 +311,7 @@
 		delete operator[](i);
 	}
 
-	RArray::Close();
+	RArray<HBufC8*>::Close();
 }
 
 void RElementIdArray::SetListL( const TDesC8& aChilds)
--- a/policymanagement/policyengine/policyengineserver/src/PolicyProcessor.cpp	Fri Jun 11 16:26:29 2010 +0100
+++ b/policymanagement/policyengine/policyengineserver/src/PolicyProcessor.cpp	Tue Jun 15 14:45:44 2010 +0100
@@ -55,7 +55,7 @@
 	container->iAttributeType = aAttributeTypes; 
 
 	//append to list
-	RArray::AppendL( container);
+	RArray<AttributeContainerHelper::TContainer*>::AppendL( container);
 		
 	//remove from cleanup
 	CleanupStack::Pop( 2, aAttribute);
@@ -75,7 +75,7 @@
 		delete container;
 	}
 	
-	RArray::Close();
+	RArray<AttributeContainerHelper::TContainer*>::Close();
 }