|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum) |
View Poll Results: Which compiler do you use?
|
GCC 4.6
|
|
0 |
0% |
GCC 4.7
|
|
2 |
10.53% |
GCC 4.8
|
|
2 |
10.53% |
GCC 4.9
|
|
1 |
5.26% |
GCC 5+
|
|
1 |
5.26% |
VS2012
|
|
3 |
15.79% |
VS2013
|
|
3 |
15.79% |
VS2015
|
|
7 |
36.84% |
09-26-2016, 03:13 PM
|
Demi-God
|
|
Join Date: Apr 2008
Location: MA
Posts: 1,164
|
|
Compiler Poll
I would like to get an idea of how many people are using various compilers. The reason for wanting to know is for potential change in min reqs, mainly to give us full C++11 support (which we currently don't have)
Personally I would like to see GCC 4.8+ and VS2015+
If anyone has arguments for different version, please share. I do think at this point in time (mainly due to GCC versions available on major distros) that these are pretty good points for now.
Last edited by demonstar55; 09-26-2016 at 05:26 PM..
|
09-26-2016, 05:34 PM
|
|
Legendary Member
|
|
Join Date: Apr 2002
Location: Seattle, WA
Posts: 506
|
|
I use gcc 4.8.4 since that's what my production box compiles with (latest stable apt-get ubuntu lts 14.04 version), I use windows with visual studio for IDE niceties (VS 2015), though, and compile that for local quick testing (and ensure my binaries work on both platforms).
|
09-26-2016, 05:48 PM
|
|
Discordant
|
|
Join Date: May 2016
Location: Above Hell
Posts: 400
|
|
I clicked on 4.7 for my linux box, but I use VS 2013 for my win 7 box
__________________
Project Insect Completed
|
09-26-2016, 06:17 PM
|
|
Discordant
|
|
Join Date: May 2016
Location: Above Hell
Posts: 400
|
|
Sorry, just wanted to add, the 4.7 gcc is what came with my Debian 7.8 install,
(using the apt-get gcc), etc.
__________________
Project Insect Completed
|
09-26-2016, 07:21 PM
|
Demi-God
|
|
Join Date: Apr 2008
Location: MA
Posts: 1,164
|
|
http://en.cppreference.com/w/cpp/compiler_support
Good reference if anyone would like to look into the support by various compilers. Most likely we won't break support for 4.7, and might for 2013, so it would mostly just be the official limits and if we do break them, too bad :P
GCC 4.8 is however missing some C++11 Library support (regex) but I'm not sure we'd really make use of that.
The stuff still missing in 2015 is some rather complex language stuff that no one would probably actually use :P (fancy template stuff and some other stuff)
|
09-26-2016, 07:43 PM
|
|
Discordant
|
|
Join Date: May 2016
Location: Above Hell
Posts: 400
|
|
I actually have no problem having to upgrade anything needed, as long as it's available.
With any apps or software, both linux and windows, I don't upgrade until something
forces me in to it, just because I get used to something and stick with it.
My linux box will never be about anything except the emu server, so I don't worry about
things like gcc, etc. If I had to upgrade the whole linux kernel, I would.
__________________
Project Insect Completed
|
09-26-2016, 09:27 PM
|
|
Hill Giant
|
|
Join Date: Apr 2013
Posts: 215
|
|
I use VS2013 but I am open to changing to 2015. I just use what you guys say to use and the last time I rebuilt my server 2013 was recommended.
|
09-26-2016, 10:50 PM
|
|
Discordant
|
|
Join Date: Jan 2007
Posts: 443
|
|
CentOS 7 is up to 4.8.5, so that's what I use.
|
09-26-2016, 10:54 PM
|
|
Administrator
|
|
Join Date: Feb 2009
Location: MN
Posts: 2,071
|
|
I see no reason for us to be on the latest if there is justification because both latest compilers are very available.
|
09-27-2016, 03:05 PM
|
Demi-God
|
|
Join Date: Apr 2008
Location: MA
Posts: 1,164
|
|
Those that voted 2012, would you be willing to upgrade? If not, why?
|
09-27-2016, 10:06 PM
|
|
Discordant
|
|
Join Date: May 2016
Location: Above Hell
Posts: 400
|
|
I had a trivial question, while we are on the topic.
If using VS 2015, which config do we choose in Cmake ?
Visual Studio 12 2013 was the choice for VS 2013
I've been using that so long, I didn't even realize that
things changed ? At least I thought back then, the 2013
was required at the time.
__________________
Project Insect Completed
|
09-27-2016, 10:22 PM
|
Sarnak
|
|
Join Date: Mar 2015
Posts: 62
|
|
Quote:
Originally Posted by Mortow
I use VS2013 but I am open to changing to 2015. I just use what you guys say to use and the last time I rebuilt my server 2013 was recommended.
|
This for me. The guide on the Wiki says to use VS2013 so that's what I use. If we need to upgrade, happy to do so.
|
09-27-2016, 10:37 PM
|
|
Developer
|
|
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
|
|
Sometimes CMake will 'allow' the use of newer compiler versions..with the caveat that the newer compiler is limited to the highest supported compiler settings.
I honestly don't see a problem with just upgrading your CMake, though.
__________________
Uleat of Bertoxxulous
Compilin' Dirty
|
09-27-2016, 10:49 PM
|
Demi-God
|
|
Join Date: Apr 2008
Location: MA
Posts: 1,164
|
|
Also with 2015, make sure you actually install the C++ compiler (it doesn't by default)
|
09-27-2016, 10:53 PM
|
|
Discordant
|
|
Join Date: May 2016
Location: Above Hell
Posts: 400
|
|
Quote:
Originally Posted by demonstar55
Also with 2015, make sure you actually install the C++ compiler (it doesn't by default)
|
Well that's handy to know, Thank You kind sirs!
I'll see about getting both the Cmake and VS upgraded and get with the times.(chuckle)
__________________
Project Insect Completed
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 07:40 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|