[Qgis-developer] Master doesn't compile

Martin Dobias wonder.sk at gmail.com
Sun Feb 23 08:47:31 PST 2014


Hi Etienne


On Sun, Feb 23, 2014 at 11:33 PM, Etienne Tourigny
<etourigny.dev at gmail.com> wrote:
> Just a remark, there are quite a few new warnings (mostly about deprecated
> functions, but also some unused or variables or parameters) using gcc 4.7.3
>
> Here are some, in no particular order, there might be more
>
> /data/src/qgis/qgis-etiennesky/build-debug/src/core/moc_qgsmaplayer.cxx: In
> static member function 'static void
> QgsMapLayer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
> /data/src/qgis/qgis-etiennesky/build-debug/src/core/moc_qgsmaplayer.cxx:102:38:
> warning: 'void QgsMapLayer::clearCacheImage()' is deprecated (declared at
> /data/src/qgis/qgis-etiennesky/build-debug/src/core/../../../src/core/qgsmaplayer.h:386)
> [-Wdeprecated-declarations]

Most of them are in files generated by MOC - maybe we could disable
the deprecation warnings for those files. For the actual QGIS source
code that triggers deprecation warnings, these should get sorted out.

Regards
Martin


More information about the Qgis-developer mailing list