<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">This is apparently due to a difference
in implementation of std::swap. Sorry for that.<br>
<br>
This should fix the problem:
<a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/pull/1106">https://github.com/qgis/QGIS/pull/1106</a><br>
<br>
On 23/01/2014 18:42, A Huarte wrote:<br>
</div>
<blockquote
cite="mid:1390498920.70408.YahooMailNeo@web172705.mail.ir2.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:12pt">
<pre style="white-space: pre-wrap;">Hi dev, now I have updated my master repository, I can not build QGIS in visual studio.
May be this commit ?
<a moz-do-not-send="true" href="https://github.com/qgis/QGIS/commit/e8205c98c938b60569c30d5c0bbec3acab1f441a">https://github.com/qgis/QGIS/commit/e8205c98c938b60569c30d5c0bbec3acab1f441a</a>
I get these errors...
2> qgssinglesymbolrendererv2.cpp
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointer<T>::QScopedPointer' : cannot access private member declared in class 'QScopedPointer<T>'
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::QScopedPointer'
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> ..\..\..\QGIS\src\core\symbology-ng\qgssinglesymbolrendererv2.cpp(59) : see reference to function template instantiation 'void std::swap<QScopedPointer<T>>(_Ty &,_Ty &)' being compiled
2> with
2> [
2> T=QgsSymbolV2,
2> _Ty=QScopedPointer<QgsSymbolV2>
2> ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2> with
2> [
2> T=QgsSymbolV2
2> ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2> with
2> [
2> T=QgsSymbolV2
2> ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointer<T>::QScopedPointer' : cannot access private member declared in class 'QScopedPointer<T>'
2> with
2> [
2> T=QgsExpression
2> ]
2> D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::QScopedPointer'
2> with
2> [
2> T=QgsExpression
2> ]
2> ..\..\..\QGIS\src\core\symbology-ng\qgssinglesymbolrendererv2.cpp(60) : see reference to function template instantiation 'void std::swap<QScopedPointer<T>>(_Ty &,_Ty &)' being compiled
2> with
2> [
2> T=QgsExpression,
2> _Ty=QScopedPointer<QgsExpression>
2> ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2> with
2> [
2> T=QgsExpression
2> ]
2> D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2> with
2> [
2> T=QgsExpression
2> ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2> with
2> [
2> T=QgsExpression
2> ]
2> D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2> with
2> [
2> T=QgsExpression
2> ]
2> qgscategorizedsymbolrendererv2.cpp
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointer<T>::QScopedPointer' : cannot access private member declared in class 'QScopedPointer<T>'
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::QScopedPointer'
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> ..\..\..\QGIS\src\core\symbology-ng\qgscategorizedsymbolrendererv2.cpp(59) : see reference to function template instantiation 'void std::swap<QScopedPointer<T>>(_Ty &,_Ty &)' being compiled
2> with
2> [
2> T=QgsSymbolV2,
2> _Ty=QScopedPointer<QgsSymbolV2>
2> ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2> with
2> [
2> T=QgsSymbolV2
2> ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> qgsgraduatedsymbolrendererv2.cpp
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointer<T>::QScopedPointer' : cannot access private member declared in class 'QScopedPointer<T>'
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::QScopedPointer'
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> ..\..\..\QGIS\src\core\symbology-ng\qgsgraduatedsymbolrendererv2.cpp(65) : see reference to function template instantiation 'void std::swap<QScopedPointer<T>>(_Ty &,_Ty &)' being compiled
2> with
2> [
2> T=QgsSymbolV2,
2> _Ty=QScopedPointer<QgsSymbolV2>
2> ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2> with
2> [
2> T=QgsSymbolV2
2> ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2> with
2> [
2> T=QgsSymbolV2
2> ]
2> D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2> with
2> [
2> T=QgsSymbolV2
2> ]
Thanks in advance</pre>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</body>
</html>