Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: WMCoolmon on April 25, 2011, 02:41:00 am

Title: What compiler do you use
Post by: WMCoolmon on April 25, 2011, 02:41:00 am
From the discussion started in this thread (http://www.hard-light.net/forums/index.php?topic=75555.0).
Title: Re: What compiler do you use
Post by: The E on April 25, 2011, 02:45:58 am
Look, it's just one person on SCP who's using VC6. That person being Goober. Who agreed to handle any and all compatibility issues that may come up, so it's not like the rest of us are taking special care to enforce VC6 compatibility.
Title: Re: What compiler do you use
Post by: MatthTheGeek on April 25, 2011, 02:59:58 am
I know for having tested it that FSO compiles correctly with gcc, not without warnings however. But yeah, from what I heard, the SCP coders use the latest VC.
Title: Re: What compiler do you use
Post by: The E on April 25, 2011, 03:01:02 am
Most of us are using VS2008 or VS2010.
Title: Re: What compiler do you use
Post by: Iss Mneur on April 25, 2011, 02:50:36 pm
I primarily use VS2010.  But I have used vim/gedit + gcc (probably 4.x) when doing some of my linux specific dev work.
Title: Re: What compiler do you use
Post by: Rodo on April 25, 2011, 04:02:53 pm
VS 2010 mostly.
Title: Re: What compiler do you use
Post by: CaptJosh on April 26, 2011, 01:28:37 am
This poll isn't fair to those of us who use different compilers depending on platform. I use VS 2008 on Windows, but GCC 4.x on Linux. And I can't select both.
Title: Re: What compiler do you use
Post by: WMCoolmon on April 26, 2011, 02:15:41 am
Sorry, I don't see the option to change it now. :-/
Title: Re: What compiler do you use
Post by: Jeff Vader on April 26, 2011, 02:32:13 am
Done (I think).
Title: Re: What compiler do you use
Post by: Echelon9 on April 26, 2011, 05:52:19 am
Submitted for GCC 4.0 on OS X; and VS2010 on Windows.

I have tried LLVM on OS X (which is Apple's new compiler), but it currently bombs out. Further work will be needed here to do a clean compile without errors.
Title: Re: What compiler do you use
Post by: Nuke on April 26, 2011, 07:25:04 am
vs2010
Title: Re: What compiler do you use
Post by: chief1983 on April 27, 2011, 12:43:09 pm
Yes I also use several versions of GCC, whatever happens to be on my Linux VM and my Snow Leopard machine at the time.
Title: Re: What compiler do you use
Post by: rsaxvc on April 29, 2011, 10:20:16 pm
For FSO I use GCC on linux and solaris 10.

In general, I use ARM Realview, GCC( on HP/UX, OSX, Solaris 10, Linux Sparc, Linux x86, Linux AMD64), Visual Studio 2003,2008,2010, HP's ANSI C/C++ compiler, HP's ...other... compiler, and sometimes SunStudio.
Title: Re: What compiler do you use
Post by: Thaeris on April 29, 2011, 10:30:20 pm
I still have VS2008 Express from when I took C++... Is there a significant reason to upgrade to 2010? I should note that I do mean to get back into coding, but I've had no time to really get on that as of now.
Title: Re: What compiler do you use
Post by: rsaxvc on April 29, 2011, 10:32:47 pm
2010 isn't too much of an upgrade over 2008. 2008 however is loads better than 2003, especially when debugging multiple threads. However, if you want any c++ 0x support, 2010 is the first to start with that stuff.
Title: Re: What compiler do you use
Post by: chief1983 on April 29, 2011, 10:51:18 pm
And since you're using the free versions, I can't really think of a reason not to upgrade other than standard upgrade headaches.
Title: Re: What compiler do you use
Post by: Thaeris on April 29, 2011, 10:58:59 pm
Well the first thing I kind of wanted to play with was fixing an old final project to further optimize it, and then add to the header file of said project. Ultimately, I'd like to make a useful little tool which would spit out objects in a very simple object format (X-Plane object format 700, also known as .obj. But not wavefront object...) which could be imported in to either AC3D or Blender, and outputted to the desired file format. I can certainly do a console-based program in VS2008 with no issues there.