News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Switching "Full compiler log" to On by default?

Started by oBFusCATed, May 05, 2012, 10:32:22 PM

Previous topic - Next topic

oBFusCATed

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.

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

Sounds great.

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

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

ollydbg

@OBF
I agree with you, let's set the "full compiler log" by default.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

killerbot

good idea, for me it is one of the first thing I do on a new cb install ;-)

Pecan

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.

MortenMacFly

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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

Is there any particular reason that some compilers used full, some none and some simple?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

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.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

Quote from: oBFusCATed on May 18, 2012, 01:43:09 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?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

Search for the enum values and you'll see what a mess it is at the moment...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]