Bug 669 & 670 - Build errors with RVCT 4.0: Error: #504-D: nonstandard form for taking the address of a member function CompilerCompatibility
authorchetan.kapoor@v800025.ad-sfpd.intra
Tue, 27 Oct 2009 10:58:40 +0000
branchCompilerCompatibility
changeset 25 9d87bae3dc1b
parent 24 9993978961bf
child 26 63ded8f94800
Bug 669 & 670 - Build errors with RVCT 4.0: Error: #504-D: nonstandard form for taking the address of a member function
webengine/osswebengine/WebCore/platform/symbian/FormFillController.cpp
webengine/webkitutils/rt_gesturehelper/src/gesturerecogniser.cpp
--- a/webengine/osswebengine/WebCore/platform/symbian/FormFillController.cpp	Mon Oct 26 14:44:08 2009 +0000
+++ b/webengine/osswebengine/WebCore/platform/symbian/FormFillController.cpp	Tue Oct 27 10:58:40 2009 +0000
@@ -43,7 +43,7 @@
 FormFillController::FormFillController() 
                     : m_popup(0), m_callback(0), m_inputElement(0), m_formDB(0), m_passwdDB(0)
 {
-    m_searchTimer = new Timer<FormFillController>(this, FormFillController::fireSearch);
+    m_searchTimer = new Timer<FormFillController>(this, &FormFillController::fireSearch);
 }
 
 FormFillController::~FormFillController()
--- a/webengine/webkitutils/rt_gesturehelper/src/gesturerecogniser.cpp	Mon Oct 26 14:44:08 2009 +0000
+++ b/webengine/webkitutils/rt_gesturehelper/src/gesturerecogniser.cpp	Tue Oct 27 10:58:40 2009 +0000
@@ -182,7 +182,7 @@
 /** @return last direction of dragging */
 inline TGestureCode LastDirection( const TPointArray& aPoints ) 
     {
-    TInt latestPointIndex = LatestCertainPointIndex( aPoints, TPointArray::operator[] );
+    TInt latestPointIndex = LatestCertainPointIndex( aPoints, &TPointArray::operator[] );
     if ( KErrNotFound != latestPointIndex )
         {
         return Direction( aPoints[latestPointIndex], LastPoint( aPoints ) );
@@ -196,7 +196,7 @@
  */
 inline TBool IsTap( const TPointArray& aPoints )
     {
-    return KErrNotFound == LatestCertainPointIndex( aPoints, TPointArray::Raw );
+    return KErrNotFound == LatestCertainPointIndex( aPoints, &TPointArray::Raw );
     }  
     
 // ----------------------------------------------------------------------------