Bug 669 & 670 - Build errors with RVCT 4.0: Error: #504-D: nonstandard form for taking the address of a member function
--- 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 );
}
// ----------------------------------------------------------------------------