Hello All

In QT builds you can see a lot of warnings like:

../../hbqt_qwidget.cpp:607: warning: taking address of temporary

which is the result of call like this:

/*
 * QPoint mapTo ( QWidget * parent, const QPoint & pos ) const
 */
HB_FUNC( QT_QWIDGET_MAPTO )
{
   hb_retptr( &( ( QPoint ) hbqt_par_QWidget( 1 )->mapTo( hbqt_par_QWidget(
2 ), 
                                                                                
  
*hbqt_par_QPoint( 3 ) ) ) );
}

&( ( QPoint )  though return a pointer but this warning still surfaces.

Anybody with a clue how it can be fixed?

Regards
Pritpal Bedi

-- 
View this message in context: 
http://www.nabble.com/QT---One-unresolved-warning-tp22912989p22912989.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to