[Proj] Compiling Proj 5.2.0

Greg Troxel gdt at lexort.com
Mon Sep 17 11:25:18 PDT 2018


Roger Oberholtzer <roger.oberholtzer at gmail.com> writes:

> I just tried building proj 5.2.0 on Linux with g++, and I got this:
>
>>[   37s] checking whether g++ supports C++11 features with -h std=c++11... no
>>[   37s] configure: error: *** A compiler with support for C++11
>
> Shouldn't the test
>
>      -h std=c++1
>
> be
>
>      -std=c++11

It's very surprising that a library that has required only c99 for many
years suddenly requires not just c++ but c++11.   That's not a problem
in many places, but I suspect is an issue for some enviroments.   So if
it's possible to avoid this (different test library?), that would be
nice.



More information about the Proj mailing list