[Qgis-developer] C++11 in master?
Larry Shaffer
larrys at dakotacarto.com
Fri Jul 15 08:42:04 PDT 2016
Hi,
On Thu, Jul 14, 2016 at 11:50 PM, Matthias Kuhn <matthias at opengis.ch> wrote:
> Hi
>
> Did you look at the latest coverage reports :) ?
>
> I don't think we require Qt 5.7, so from this side we still have a grace
> period.
> But at the same time I wouldn't mind, c++11 should be fairly common these
> days.
> GCC starting from 4.8 should have it which is shipped by default on trusty
> and even 4.6 (precise) had a lot of support already.
>
> We could also ask for specific features instead of full support which
> might even give us more possibilities for early adoption of new compiler
> features. [2]
>
On the Mac side of things, and with a focus on minimum OS support, the
first version of Xcode that 'fully' supports c++11 is 5.0, which puts the
minimum OS X at 10.8:
https://trac.macports.org/wiki/XcodeVersionInfo
This is based off the full c++11 support in Clang since 3.3:
http://clang.llvm.org/cxx_status.html
OS X 10.8 is already the minimum OS for William's builds:
http://www.kyngchaos.com/software/qgis
I would like to go one further and put minimum OS X at 10.9 for QGIS 3.0,
due to current Homebrew pre-compiled binary support and full c++11 support,
prior to any compiler restrictions.
Larry Shaffer
Dakota Cartography
Black Hills, South Dakota
> Matthias
>
> [1] http://en.cppreference.com/w/cpp/compiler_support
> [2]
> https://cmake.org/cmake/help/v3.1/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.html
>
>
> On 14/07/16 23:09, Nyall Dawson wrote:
>
> Hi all,
>
> Just wondering - are we allowing use of c++11 features in master now?
>
> Given qt 5.7 requires a c++11 compiler, it seems like the right time for
> us to make this a requirement too.
>
> Nyall
>
>
> _______________________________________________
> Qgis-developer mailing listQgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160715/f014614f/attachment.html>
More information about the Qgis-developer
mailing list