this seems like a good idea.give a better idea where the build comes from. opinions?
Fine by me if the VERSION define is there for all gcc platforms for sure...
@Karlson2k can you rebase.
@Memphiz how can we find out? Do a build run and just test them?
Startup log: Resort XBMC info
If it Builds it is fine
@MartijnKaijser I'll update it a little and rebase.
Startup log: Add GCC version information
Startup log: Added debug/release build information
Startup log: fixes potential problems
Startup log: refactoring
Now not using __VERSION__ macro
Jenkins Build this please
Pr is to old and jenkins didn't scan it - manual testbuild triggered...
August starts early this year...
It's no feature - it's for helping us supporting people - no reason to suspend this until the merge window.
and if i build xbmc with clang ? :)
@Fneufneu Is it possible on some platform?
clang can be used on Linux / OSX / FreeBSD.
it will be the default compiler on (the futur) FreeBSD 10 it's why i make all my test with clang.
@Fneufneu OK, I'll extend compiler detection.
@Memphiz Does it make sense to see if we also add test compiling with clang on Jenkins (if that's possible)?
I would say no - the platforms jenkins compiles for now are compiled the way the readme suggests. I guess usage of clang would be introduced automagically when ubuntu for example switches over from gcc. In that case we would need to add buildslaves for each platform using the specific os/buildtools.
On OSX depending on the used Xcode version clang is already used IIRC. We don't add a buildslave for all Xcode versions though (as it would be a pita to compile for them). We just ensure it works whenever a new Xcode comes out and normally once it compiled this doesn't change during XBMC development.
So if fneufneu wants to have a freebsd slave and freebsd uses clang - this would be different. We could add a freebsd slave of course - that is up to fneufneu. (someone would need to setup a vm for this of course...)
clang define GCC version macros too, but 'GCC' identification in log will be wrong.
I'll correct it.
@Fneufneu Clang support #3012
Tested on Ubuntu
i'm not seeing the "Using foo XBMC build" in the log when using a nightly build.
@Memphiz what are our default value is when doing a build?
@MartijnKaijser It's on LOGINFO level. Only visible on debug logging or debug build.
And thats what I run and it's not there. It doesn't show anything and since we either do a debug release build it should be there.
looking at 3fae98a, it seems that NDEBUG isn't defined on windows release build
@MartijnKaijser @garbear Loglevel setting is initialized later, so on startup only default level is logged.
It's corrected in PR #3012
Clear any pending fetch job upon MediaWindow update, should fix #1556