News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Where could I add option to disable auto compiler detection?

Started by stahta01, October 06, 2018, 02:57:59 AM

Previous topic - Next topic

stahta01

Where could I add option to disable auto compiler detection?

I am thinking a check box that defaults to checked in
Setting -> Environment
Inside the "On Application Start-up" box/area

Is there a better place?

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

If it belongs to compiler plugin, is it possible to put in the compiler setting dialog? (in Menu->Settings->Compiler)
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.

stahta01

Quote from: ollydbg on October 06, 2018, 03:42:28 AM
If it belongs to compiler plugin, is it possible to put in the compiler setting dialog? (in Menu->Settings->Compiler)

Do you mean adding another icon in the left hand box the holds "Batch Builds" and "Global Compiler Settings"?
Or do you mean somewhere in the "Global Compiler Settings"?

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]

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!]

stahta01

Quote from: oBFusCATed on October 06, 2018, 06:58:16 AM
Why do you want to do it in the first place?

I dislike the feature and wish to submit a patch to allow a person to disable it.

I currently have a project that stores the CB config used with in an git repo; and, the config changes differently on both of the Windows computer I use it on.

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]

oBFusCATed

Quote from: stahta01 on October 06, 2018, 07:15:36 AM
I dislike the feature and wish to submit a patch to allow a person to disable it.
Not sure this is a valid reason to introduce more options.
Storing config files is not a good idea!
(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!]

BlueHazzard

Quote
Not sure this is a valid reason to introduce more options.
What is it with your obsession about configuration options? Options are userfriendly...

I see the reason for such a option....
How about no UI and only a line in the config file? Advanced user can modify the config file and there is no entry that clutters the UI. The code changes are minimal (probably 2 lines?).
I have no idea where such a option should go... There is no "general compiler" options entry in any UI...

oBFusCATed

Quote from: BlueHazzard on October 07, 2018, 09:22:26 AM
What is it with your obsession about configuration options?
I, as a user, don't want to tweak stuff. I want it to work out-of-the-box.
Also maintaining is easier if there are smaller number of different code paths.

Quote from: BlueHazzard on October 07, 2018, 09:22:26 AM
Options are userfriendly...
No they are not. They are unfriendly and a competing project with less options would be considered user friendlier.

Hidden options are even less useful, because they will be used only by the person who requested them. So the added maintenance cost is less justified.
(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!]

BlueHazzard

QuoteI, as a user, don't want to tweak stuff. I want it to work out-of-the-box.
For this you have to set reasonable defaults. But don't degrade ALL user to an blob of incapable noobs, and cripple the software to exactly one predefined path...

i see the maintaining point, but not for things that are literally one or two lines of code that make no branches.

this will be my last post to the settings topic, i know your point, and you know mine and i don't think we come to one point ;)