Already done yesterday [1]. Nothing to port (yet) ;) Cheers
[1] https://github.com/qgis/QGIS/commit/9a962524cae2010d1e22e3e28d081bc057c1134d On 10/18/2016 09:53 AM, René-Luc Dhont wrote: > Thanks Matthias, > > it works! > > can I push this bugfix and backport it ? Or do I have to create a PR ? > > Regards, > René-Luc > > Le 17/10/2016 à 18:41, Matthias Kuhn a écrit : >> Hmmm... >> >> What about replacing isinf with qIsInf? (and if required #include >> "qgis.h")? >> >> On 10/17/2016 06:32 PM, René-Luc Dhont wrote: >>> Hi Matthias, >>> >>> It does not help me if I add #include <math.h> in >>> src/gui/qgsscalerangewidget.cpp >>> >>> Regards, >>> René-Luc >>> >>> Le 17/10/2016 à 18:26, Matthias Kuhn a écrit : >>>> He René-Luc >>>> >>>> does it help if you #include <math.h> in >>>> src/gui/qgsscalerangewidget.cpp? >>>> >>>> Matthias >>>> >>>> On 10/17/2016 06:08 PM, René-Luc Dhont wrote: >>>>> Hi devs, >>>>> >>>>> I have this error during the qgis master_2 building: >>>>> ``` >>>>> ../src/gui/qgsscalerangewidget.cpp:93:21: error: ‘isinf’ was not >>>>> declared in this scope >>>>> if ( isinf( scale ) ) >>>>> ^ >>>>> ../src/gui/qgsscalerangewidget.cpp:93:21: note: suggested alternative: >>>>> In file included from /usr/include/c++/5/random:38:0, >>>>> from /usr/include/c++/5/bits/stl_algo.h:66, >>>>> from /usr/include/c++/5/algorithm:62, >>>>> from /usr/include/qt4/QtCore/qglobal.h:68, >>>>> from /usr/include/qt4/QtCore/qnamespace.h:45, >>>>> from /usr/include/qt4/QtCore/qobjectdefs.h:45, >>>>> from /usr/include/qt4/QtCore/qobject.h:47, >>>>> from /usr/include/qt4/QtGui/qlayout.h:45, >>>>> from /usr/include/qt4/QtGui/qgridlayout.h:45, >>>>> from /usr/include/qt4/QtGui/QGridLayout:1, >>>>> from ../src/gui/qgsscalerangewidget.h:19, >>>>> from ../src/gui/qgsscalerangewidget.cpp:16: >>>>> /usr/include/c++/5/cmath:621:5: note: ‘std::isinf’ >>>>> isinf(_Tp __x) >>>>> ^ >>>>> ../src/gui/qgsscalerangewidget.cpp: In member function ‘void >>>>> QgsScaleRangeWidget::setMaximumScale(double)’: >>>>> ../src/gui/qgsscalerangewidget.cpp:105:21: error: ‘isinf’ was not >>>>> declared in this scope >>>>> if ( isinf( scale ) ) >>>>> ^ >>>>> ../src/gui/qgsscalerangewidget.cpp:105:21: note: suggested >>>>> alternative: >>>>> In file included from /usr/include/c++/5/random:38:0, >>>>> from /usr/include/c++/5/bits/stl_algo.h:66, >>>>> from /usr/include/c++/5/algorithm:62, >>>>> from /usr/include/qt4/QtCore/qglobal.h:68, >>>>> from /usr/include/qt4/QtCore/qnamespace.h:45, >>>>> from /usr/include/qt4/QtCore/qobjectdefs.h:45, >>>>> from /usr/include/qt4/QtCore/qobject.h:47, >>>>> from /usr/include/qt4/QtGui/qlayout.h:45, >>>>> from /usr/include/qt4/QtGui/qgridlayout.h:45, >>>>> from /usr/include/qt4/QtGui/QGridLayout:1, >>>>> from ../src/gui/qgsscalerangewidget.h:19, >>>>> from ../src/gui/qgsscalerangewidget.cpp:16: >>>>> /usr/include/c++/5/cmath:621:5: note: ‘std::isinf’ >>>>> isinf(_Tp __x) >>>>> ^ >>>>> ``` >>>>> _______________________________________________ >>>>> Qgis-developer mailing list >>>>> [email protected] >>>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer >>>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer >>>> _______________________________________________ >>>> Qgis-developer mailing list >>>> [email protected] >>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer >>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer >>> _______________________________________________ >>> Qgis-developer mailing list >>> [email protected] >>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer >>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer >> _______________________________________________ >> Qgis-developer mailing list >> [email protected] >> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer >> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer > > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
