[Qgis-developer] make error (wms)

humarco marco.hugentobler at karto.baug.ethz.ch
Fri Sep 29 05:27:14 EDT 2006


Ah, someone else with a compiler requiring std::isfinite.
What compiler version are you using?
As a temporary fix, just insert

#if __GNUC__ >= 5

instead of

#if __GNUC__ >= 4

in qgswmsprovider.cpp:1954. For the longer term, we need to make the version 
query more precise.

Marco

Am Samstag, 30. September 2006 08:25 schrieb Paolo Cavallini:
> I'm not able to compile from current svn:
>
> qgswmsprovider.Tpo -c qgswmsprovider.cpp  -fPIC -DPIC -o
> .libs/wmsprovider_la-qgswmsprovider.o
> qgswmsprovider.cpp: In member function 'bool
> QgsWmsProvider::calculateExtent()':
> qgswmsprovider.cpp:1955: error: 'isfinite' was not declared in this scope
> make[5]: *** [wmsprovider_la-qgswmsprovider.lo] Error 1
>
> Any explanation?
> Thanks a lot.
> pc



More information about the Qgis-developer mailing list