EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Compiler Poll (https://www.eqemulator.org/forums/showthread.php?t=40928)

demonstar55 09-26-2016 03:13 PM

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.

Shin Noir 09-26-2016 05:34 PM

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).

DanCanDo 09-26-2016 05:48 PM

I clicked on 4.7 for my linux box, but I use VS 2013 for my win 7 box

DanCanDo 09-26-2016 06:17 PM

Sorry, just wanted to add, the 4.7 gcc is what came with my Debian 7.8 install,
(using the apt-get gcc), etc.

demonstar55 09-26-2016 07:21 PM

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)

DanCanDo 09-26-2016 07:43 PM

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.

Mortow 09-26-2016 09:27 PM

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.

N0ctrnl 09-26-2016 10:50 PM

CentOS 7 is up to 4.8.5, so that's what I use.

Akkadius 09-26-2016 10:54 PM

I see no reason for us to be on the latest if there is justification because both latest compilers are very available.

demonstar55 09-27-2016 03:05 PM

Those that voted 2012, would you be willing to upgrade? If not, why?

DanCanDo 09-27-2016 10:06 PM

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.

Darkscis 09-27-2016 10:22 PM

Quote:

Originally Posted by Mortow (Post 251389)
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.

Uleat 09-27-2016 10:37 PM

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.

demonstar55 09-27-2016 10:49 PM

Also with 2015, make sure you actually install the C++ compiler (it doesn't by default)

DanCanDo 09-27-2016 10:53 PM

Quote:

Originally Posted by demonstar55 (Post 251414)
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)


All times are GMT -4. The time now is 02:29 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.