Random Chitchat 2012-2016
@xoft: regarding commit f58d44e, you might want to watch scott meyers talk on the six different sets of rules for type deduction in c++ https://www.youtube.com/watch?v=wQxj20X-tIU
Thanks given by:
We have 300 stars on githubBig Grin
Thanks given by:
I can't compile MCServer with my raspberry pi. (Use clang and clang++ as compilers)

What's wrong?
Quote:/home/minecraft/MCServer/src/Generating/Trees.cpp:424:17: error: initialization
of non-aggregate type 'const Vector3i' (aka 'const Vector3<int>') with an
initializer list
{ -1, 1, 1 }, { -1, 1, -1 },
^~~~~~~~~~~~~
/home/minecraft/MCServer/src/Generating/Trees.cpp:425:3: error: initialization
of non-aggregate type 'const Vector3i' (aka 'const Vector3<int>') with an
initializer list
{ 1, 1, 1 }, { 1, 1, -1 },
^~~~~~~~~~~
/home/minecraft/MCServer/src/Generating/Trees.cpp:425:16: error: initialization
of non-aggregate type 'const Vector3i' (aka 'const Vector3<int>') with an
initializer list
{ 1, 1, 1 }, { 1, 1, -1 },
^~~~~~~~~~~~
Thanks given by:
Try using GCC.
Thanks given by:
Specifically, a newer version of GCC.
Thanks given by:
Is there a known "minimum version" of gcc and of clang that supports our c++11 features? We might want to document that somewhere.
Thanks given by:
Why don't we just take the newest version and put a + behind it? I think GCC 4.8.3 is the version that supports most of the features of C++11
Thanks given by:
We know it works with gcc 4.6 and clang 3.4, as those are what travis uses.
Thanks given by:
@sphinxc0re That wouldn't be good, as there are many Linux platforms that don't have the newest latest compilers available. For example the RasPi has gcc 4.6.3.
Thanks given by:
Hmmm, everyone was so excited about moving to c++11 and now Travis fails on us because it doesn't have full c++11 support - it doesn't seem to have std::chrono::steady_clock.
Thanks given by:




Users browsing this thread: 78 Guest(s)