Cuberite Forum
Update c++ standard? - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: Update c++ standard? (/thread-3237.html)



Update c++ standard? - xoft - 08-28-2019

We currently use C++11. Shall we move on to C++17? Doing that would require dropping the clang-3.5 and gcc-4.8 from Travis CI tests (thus making Travis twice as fast Smile


RE: Update c++ standard? - xoft - 08-28-2019

My 1.13 work in https://github.com/cuberite/cuberite/pull/4377 already uses some C++17 features, but if we so decide, I can still change it back to C++11.


RE: Update c++ standard? - xoft - 08-28-2019

@bearbin will there be problems with the buildserver cross-compiling for raspberry pi?


RE: Update c++ standard? - bearbin - 08-28-2019

(08-28-2019, 12:41 AM)xoft Wrote: @bearbin will there be problems with the buildserver cross-compiling for raspberry pi?

The current version of GCCused for the crosscompile-builds on the buildserver doesn't support C++17, so it will need to be updated. I'll get on that if it's confirmed that we are switching over to the new standard.


RE: Update c++ standard? - xoft - 08-28-2019

Nah, too much work. Terminating this train of thought.