News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

CodeBlocks 13.12 set options in a description of a problem(or bug).

Started by Chun Jiu, June 25, 2014, 01:42:34 PM

Previous topic - Next topic

Chun Jiu

The default value is actually the second, rather than the third.

Code::Blocks -> Project -> Properties -> Project settings -> Precompiled headers

- Generate ...
- Generate PCH in the object output dir (default)
- Generate ...

I love my girlfriend like c++!    :-)

[url="http://pan.baidu.com/s/1feNwU"]http://pan.baidu.com/s/1feNwU[/url]
easilygcc is a gmail's email.

stahta01

How did you create the project?
What version of CB was used to create the project?

Edit: Just tested a recent self build and the default does seem to be "Generate PCH in the object output dir"
Edit2: Default in this case means what happens if "Option pch_mode" deleted from cbp file manually.

Note, I have not tested the CB Wizard which might have another default.

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]

stahta01

If a CB Dev member agrees it is a issue here is a patch.


Index: src/src/resources/project_options.xrc
===================================================================
--- src/src/resources/project_options.xrc (revision 9831)
+++ src/src/resources/project_options.xrc (working copy)
@@ -148,8 +148,8 @@
<label>Strategy</label>
<content>
<item>Generate PCH in a directory alongside original header</item>
- <item>Generate PCH in the object output dir</item>
- <item>Generate PCH alongside original header (default)</item>
+ <item>Generate PCH in the object output dir (default)</item>
+ <item>Generate PCH alongside original header</item>
</content>
<style>wxRA_SPECIFY_COLS</style>
</object>


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]

Chun Jiu

Sorry , i did not say use of the environment:

This problem is codeblocks settings menu word (default) in the wrong place .

At the end of the second line should be, and should not be at the end of the third line.
-------------------------------------------------------------------------------------------------------------
My computer OS : Windows7 64bit
This is the official download codeblocks installed version 13.12(for windows,without TDM-GCC)

--------------------------------------------------------------------------------------------------------------
I love my girlfriend like c++!    :-)

[url="http://pan.baidu.com/s/1feNwU"]http://pan.baidu.com/s/1feNwU[/url]
easilygcc is a gmail's email.

Chun Jiu

Thanks! :-)

But I will not modify, expect an official version of the next release version can change overnight.

I love my girlfriend like c++!    :-)

[url="http://pan.baidu.com/s/1feNwU"]http://pan.baidu.com/s/1feNwU[/url]
easilygcc is a gmail's email.