<div dir="ltr"><div>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<br></div><div><br></div><div>Here are some, in no particular order, there might be more</div>
<div><br><div><div>/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**)’:</div>
<div>/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]</div>
<div><br></div><div><div>In file included from /home/softdev/include/ogr_api.h:43:0,</div><div> from /data/src/qgis/qgis-etiennesky/src/core/qgsvectorfilewriter.h:25,</div><div> from /data/src/qgis/qgis-etiennesky/src/core/qgsvectorfilewriter.cpp:26:</div>
<div>/home/softdev/include/ogr_core.h:72:32: warning: missing option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]</div></div><div><br></div><div>/data/src/qgis/qgis-etiennesky/build-debug/src/core/moc_qgsmaprenderer.cxx: In static member function ‘static void QgsMapRenderer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:</div>
<div>/data/src/qgis/qgis-etiennesky/build-debug/src/core/moc_qgsmaprenderer.cxx:69:80: warning: ‘void QgsMapRenderer::hasCrsTransformEnabled(bool)’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/build-debug/src/core/../../../src/core/qgsmaprenderer.h:327) [-Wdeprecated-declarations]</div>
<div>/data/src/qgis/qgis-etiennesky/build-debug/src/core/moc_qgsmaprenderer.cxx:77:110: warning: ‘void QgsMapRenderer::onDrawingProgress(int, int)’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/build-debug/src/core/../../../src/core/qgsmaprenderer.h:355) [-Wdeprecated-declarations]</div>
</div><div><br></div><div><div>/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**)’:</div>
<div>/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]</div>
<div>/data/src/qgis/qgis-etiennesky/build-debug/src/core/moc_qgsmaprenderer.cxx: In static member function ‘static void QgsMapRenderer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:</div><div>/data/src/qgis/qgis-etiennesky/build-debug/src/core/moc_qgsmaprenderer.cxx:69:80: warning: ‘void QgsMapRenderer::hasCrsTransformEnabled(bool)’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/build-debug/src/core/../../../src/core/qgsmaprenderer.h:327) [-Wdeprecated-declarations]</div>
<div>/data/src/qgis/qgis-etiennesky/build-debug/src/core/moc_qgsmaprenderer.cxx:77:110: warning: ‘void QgsMapRenderer::onDrawingProgress(int, int)’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/build-debug/src/core/../../../src/core/qgsmaprenderer.h:355) [-Wdeprecated-declarations]</div>
</div><div><br></div></div><div><div>/data/src/qgis/qgis-etiennesky/build-debug/src/gui/moc_qgsmapcanvas.cxx: In static member function ‘static void QgsMapCanvas::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:</div>
<div>/data/src/qgis/qgis-etiennesky/build-debug/src/gui/moc_qgsmapcanvas.cxx:116:104: warning: ‘void QgsMapCanvas::setProgress(int, int)’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/build-debug/src/gui/../../../src/gui/qgsmapcanvas.h:391) [-Wdeprecated-declarations]</div>
<div>/data/src/qgis/qgis-etiennesky/build-debug/src/gui/moc_qgsmapcanvas.cxx:121:40: warning: ‘void QgsMapCanvas::mapCanvasRefreshed()’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/build-debug/src/gui/../../../src/gui/qgsmapcanvas.h:419) [-Wdeprecated-declarations]</div>
<div>/data/src/qgis/qgis-etiennesky/build-debug/src/gui/moc_qgsmapcanvas.cxx:122:36: warning: ‘void QgsMapCanvas::renderStarting()’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/build-debug/src/gui/../../../src/gui/qgsmapcanvas.h:424) [-Wdeprecated-declarations]</div>
<div>/data/src/qgis/qgis-etiennesky/build-debug/src/gui/moc_qgsmapcanvas.cxx:144:32: warning: ‘void QgsMapCanvas::updateMap()’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/build-debug/src/gui/../../../src/gui/qgsmapcanvas.h:356) [-Wdeprecated-declarations]</div>
<div>/data/src/qgis/qgis-etiennesky/build-debug/src/gui/moc_qgsmapcanvas.cxx:146:76: warning: ‘void QgsMapCanvas::showError(QgsMapLayer*)’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/build-debug/src/gui/../../../src/gui/qgsmapcanvas.h:363) [-Wdeprecated-declarations]</div>
</div><div><br></div><div><br></div><div><div>/data/src/qgis/qgis-etiennesky/src/gui/qgshighlight.cpp: In member function ‘void QgsHighlight::init()’:</div><div>/data/src/qgis/qgis-etiennesky/src/gui/qgshighlight.cpp:72:64: warning: ‘QgsMapRenderer* QgsMapCanvas::mapRenderer()’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/src/gui/qgsmapcanvas.h:177) [-Wdeprecated-declarations]</div>
<div>/data/src/qgis/qgis-etiennesky/src/gui/qgshighlight.cpp: In member function ‘virtual void QgsHighlight::paint(QPainter*)’:</div><div>/data/src/qgis/qgis-etiennesky/src/gui/qgshighlight.cpp:307:61: warning: ‘QgsMapRenderer* QgsMapCanvas::mapRenderer()’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/src/gui/qgsmapcanvas.h:177) [-Wdeprecated-declarations]</div>
<div>/data/src/qgis/qgis-etiennesky/src/gui/qgshighlight.cpp:340:46: warning: ‘virtual void QgsFeatureRendererV2::startRender(QgsRenderContext&, const QgsVectorLayer*)’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/src/gui/../core/symbology-ng/qgsrendererv2.h:88) [-Wdeprecated-declarations]</div>
<div>/data/src/qgis/qgis-etiennesky/src/gui/qgsmapcanvas.cpp: In member function ‘QPaintDevice& QgsMapCanvas::canvasPaintDevice()’:</div><div>/data/src/qgis/qgis-etiennesky/src/gui/qgsmapcanvas.cpp:1530:28: warning: ‘QPaintDevice& QgsMapCanvasMap::paintDevice()’ is deprecated (declared at /data/src/qgis/qgis-etiennesky/src/gui/qgsmapcanvasmap.h:70) [-Wdeprecated-declarations]</div>
</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 23, 2014 at 11:55 AM, Martin Dobias <span dir="ltr"><<a href="mailto:wonder.sk@gmail.com" target="_blank">wonder.sk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matthias<br>
<div class=""><br>
On Sun, Feb 23, 2014 at 9:43 PM, Matthias Kuhn <<a href="mailto:matthias.kuhn@gmx.ch">matthias.kuhn@gmx.ch</a>> wrote:<br>
> Hi,<br>
><br>
> Currently I get an error compiling master:<br>
><br>
> QGIS/src/gui/qgsmapcanvas.cpp: In member function 'virtual bool<br>
> QgsMapCanvas::event(QEvent*)':<br>
> QGIS/src/gui/qgsmapcanvas.cpp:1806:8: error: 'mDrawing' was not declared in<br>
> this scope<br>
> if ( mDrawing )<br>
<br>
</div>Sorry for that. Now it should be fixed.<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888">Martin<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div></div></blockquote></div><br></div>