Has anyone tried to build it with clang?

Has anyone tried to build it with clang?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Has anyone tried to build it with clang?

Post by Super Mario »

I was wondering if anyone tried to attempted to build spring using the llvm/clang compilers. (The one got from the svn system).If build successfully. Are there any improvements using clang over gcc/g++?
Why I ask this? Because some point in the future I might consider to replacing gcc with clang. Your thoughts?
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Has anyone tried to build it with clang?

Post by BrainDamage »

recipe for desync, it doesn't even sync between certain versions of gcc, let alone with a different compiler, if your goal is solo play, then it *might* work
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Has anyone tried to build it with clang?

Post by Super Mario »

It's more of a experiment really. The question is that will the spring engine will receive any improvements by using this compiler?
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Has anyone tried to build it with clang?

Post by Auswaschbar »

I guess the only way to find out is to try it. But I don't think it would make a big difference.

edit: I tried it once, but didn't come far as I couldn't figure out how to compile and link stuff with it.
Post Reply

Return to “Engine”