Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: oBFusCATed on May 05, 2012, 10:32:22 pm

Title: Switching "Full compiler log" to On by default?
Post by: oBFusCATed on May 05, 2012, 10:32:22 pm
I want to make the change, in order to save lots of support round trips like:

Case1:
Quote
user: my project doesn't compile
support: paste the full log
user: pastes the short log
support: I said paste the full log, to enable it do 1,2,3
user: pastes the log

Case2:
Quote
user: debugging doesn't work - executable doesn't have symbols
support: read on the wiki about the needed options for proper debugging
user: I've already read it, my settings are fine
support: paste the full log for debugger and compiler
user: pastes the wrong logs
support: I said paste the full log, to enable it do 1,2,3
user: pastes the log
support: but you still have -g or -s, even -O2 is there

Anyone against this change must have extremely convincing reason to stop me doing it.
I'm going to do the change in a week or two.

Title: Re: Switching "Full compiler log" to On by default?
Post by: stahta01 on May 06, 2012, 12:08:40 am
Sounds great.

I was thinking of submitting this one line patch, for the GCC compiler, myself.

Tim S.
Title: Re: Switching "Full compiler log" to On by default?
Post by: ollydbg on May 06, 2012, 05:39:03 am
@OBF
I agree with you, let's set the "full compiler log" by default.
Title: Re: Switching "Full compiler log" to On by default?
Post by: killerbot on May 06, 2012, 09:16:06 am
good idea, for me it is one of the first thing I do on a new cb install ;-)
Title: Re: Switching "Full compiler log" to On by default?
Post by: Pecan on May 06, 2012, 12:45:10 pm
Oh yeah.

For all my support clients, I patch CB to make sure Full Logging is *On*, else it wastes hours getting them to turn it on, then recreating their error.
Title: Re: Switching "Full compiler log" to On by default?
Post by: MortenMacFly on May 07, 2012, 08:22:11 pm
Go ahead. In fact for me its the same like with Pecan. Dunno who set it to "brief" in the first place. Add a tip of today telling how to turn "brief" on in addition.
Title: Re: Switching "Full compiler log" to On by default?
Post by: oBFusCATed on May 18, 2012, 12:03:07 am
Something like this: http://cmpt.benbmp.org/codeblocks/patches/full_compiler_logging.patch ?
Title: Re: Switching "Full compiler log" to On by default?
Post by: MortenMacFly on May 18, 2012, 01:35:42 pm
Something like this: http://cmpt.benbmp.org/codeblocks/patches/full_compiler_logging.patch ?
Oh dear, I forgot that its need to be done for every compiler... but yes, that's about it.
Title: Re: Switching "Full compiler log" to On by default?
Post by: oBFusCATed on May 18, 2012, 01:43:09 pm
Is there any particular reason that some compilers used full, some none and some simple?
Title: Re: Switching "Full compiler log" to On by default?
Post by: Jenna on May 18, 2012, 01:45:12 pm
The tip of day needs to be corrected in your patch, because someone ;) changed the Settings submenu layout and there is no "Compiler and debugger" menuentry anymore.
Title: Re: Switching "Full compiler log" to On by default?
Post by: oBFusCATed on May 18, 2012, 02:39:45 pm
OK, this someone was me :)
Title: Re: Switching "Full compiler log" to On by default?
Post by: MortenMacFly on May 18, 2012, 06:40:13 pm
Is there any particular reason that some compilers used full, some none and some simple?
Nope. All should use "full" initially. What compilers do you mean where it is different?
Title: Re: Switching "Full compiler log" to On by default?
Post by: oBFusCATed on May 18, 2012, 11:43:45 pm
Search for the enum values and you'll see what a mess it is at the moment...
Title: Re: Switching "Full compiler log" to On by default?
Post by: oBFusCATed on May 19, 2012, 12:04:07 am
In svn...