The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.15 (Linux)
File Line Function
/showthread.php 906 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drop GCC 4.6 support
#1
In my latest commits, I broke the GCC 4.6 build on Travis. The problem is that I've used non-static member initialization "class X { int x = 12; }" and the new C++11 using alias ("using Alias = Type;").

I find that both features are nice to have in our code and I feel that we should be gradually moving on to proper C++11 support, not to mention C++14. Right now we have to do weird things to get Colobot to compile under GCC 4.6, 4.7 and of course MSVC 2013 which is even more lacking in some ways when it comes to C++11.

I would therefore propose to drop GCC 4.6 which is now more than 4 years old. GCC 4.7 was released in 2012, and I think that pretty much any recent Linux distribution has at least GCC 4.7 so I don't think it will be a problem for any of our users.


Messages In This Thread
Drop GCC 4.6 support - by piotrdz - 06-24-2015, 08:54 PM
RE: Drop GCC 4.6 support - by tomangelo - 06-24-2015, 10:14 PM
RE: Drop GCC 4.6 support - by tomaszkax86 - 06-25-2015, 10:07 AM
RE: Drop GCC 4.6 support - by piotrdz - 06-25-2015, 11:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)