[Qgis-developer] QGIS 2.16 compiling with '-std=c++11'

Matthias Kuhn matthias at opengis.ch
Sun Aug 28 22:30:34 PDT 2016


Hi Mark

On 08/29/2016 06:46 AM, Mark Johnson wrote:
> Yesterday I managed to resolve dependency problems which prevented the
> install of the present QGIS 2.16.
> 
> So I am now attempting to compile the branch 'release-2_16', since 2.10
> was the last version that I could compile and use properly.
> 
> At 51% it received warnings/errors:
> 
> "warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat]"
> "error: 'nullptr' was not declared in this scope"

Which compiler are you using?
CMake should add this flag or an appropriate definition if not available
automatically.

Matthias


More information about the Qgis-developer mailing list